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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.20.1
    • Fix Version/s: 0.21.0
    • Component/s: documentation
    • Labels:
      None
    • Hadoop Flags:
      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

          Activity

            People

            • Assignee:
              tsuna Benoit Sigoure
              Reporter:
              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