You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2011/06/12 17:18:51 UTC
[jira] [Resolved] (HADOOP-6238) (very) minor typo in javadoc for
org.apache.hadoop.util.Tool
[ https://issues.apache.org/jira/browse/HADOOP-6238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harsh J resolved HADOOP-6238.
-----------------------------
Resolution: Duplicate
Already fixed by HADOOP-6504
Issue duplicates HADOOP-6504
> (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
> Original Estimate: 0.25h
> Remaining Estimate: 0.25h
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira