You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2010/03/10 21:08:27 UTC

[jira] Updated: (HADOOP-6504) Invalid example in the documentation of org.apache.hadoop.util.Tool

     [ https://issues.apache.org/jira/browse/HADOOP-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-6504:
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.22.0
         Assignee: Benoit Sigoure
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

I've just committed this. Thanks Benoit!

> 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
>            Assignee: Benoit Sigoure
>            Priority: Trivial
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6504.patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> 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.