Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6504

Invalid example in the documentation of org.apache.hadoop.util.Tool

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.20.1
    • 0.21.0
    • documentation
    • None
    • Reviewed

    Description

      The example with the class MyApp doesn't work.
      The run method needs to return an int (return 0; needs to be added at the end of the method) and main does a new Sort() instead of new MyApp()

      Attachments

        1. HADOOP-6504.patch
          1 kB
          Benoit Sigoure

        Activity

          People

            tsuna Benoit Sigoure
            tsuna Benoit Sigoure
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified