Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.0.3
    • Fix Version/s: None
    • Component/s: mrv1
    • Labels:
      None

      Description

      The javadocs in org.apache.hadoop.util.Tool contain an example to use the tool runner to invoke a tool.

      If you copy and paste the example into a java file it doesn't even compile

      1. job.setInputPath() isn't there
      2. job.setOutputPath() isn't there
      3. job.waitForCompletion() isn't invoked
      4. the Tool.run() implementation doesn't contain a return statement.

      The processed javadocs are online: http://hadoop.apache.org/common/docs/r1.0.3/api/org/apache/hadoop/util/Tool.html

        Attachments

          Activity

            People

            • Assignee:
              GergelyNovak Gergely Novák
              Reporter:
              stevel@apache.org Steve Loughran
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: