hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parker Jones (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-6238) (very) minor typo in javadoc for org.apache.hadoop.util.Tool
Date Fri, 04 Sep 2009 15:04:57 GMT
(very) minor typo in javadoc for org.apache.hadoop.util.Tool
------------------------------------------------------------

                 Key: HADOOP-6238
                 URL: https://issues.apache.org/jira/browse/HADOOP-6238
             Project: Hadoop Common
          Issue Type: Bug
          Components: util
    Affects Versions: 0.20.0
            Reporter: Parker Jones
            Priority: Trivial


In the description, "Here is how a typical Tool is implemented:" there's some sample code
for a class called "MyApp" that gives a simple implementation of Tool.  In its main method,
it references a class "Sort" where I believe MyApp should appear:

         int res = ToolRunner.run(new Configuration(), new Sort(), args);
should be
         int res = ToolRunner.run(new Configuration(), new MyApp(), args);

I'm brand-new to hadoop (Day 1) and was initially confused how ToolRunner knew which class
to run.

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


Mime
View raw message