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

                 Key: HADOOP-6504
                 URL: https://issues.apache.org/jira/browse/HADOOP-6504
             Project: Hadoop Common
          Issue Type: Bug
          Components: documentation
    Affects Versions: 0.20.1
            Reporter: Benoit Sigoure


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()}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to