Details
-
Bug
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
1.0.3
-
None
-
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
- job.setInputPath() isn't there
- job.setOutputPath() isn't there
- job.waitForCompletion() isn't invoked
- 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