You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Arijit Chattopadhyay (JIRA)" <ji...@apache.org> on 2015/02/08 06:02:34 UTC
[jira] [Commented] (MAPREDUCE-6181) WordCount.java in
mapreduce-examples.jar uses deprecated job object creation API
[ https://issues.apache.org/jira/browse/MAPREDUCE-6181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14311114#comment-14311114 ]
Arijit Chattopadhyay commented on MAPREDUCE-6181:
-------------------------------------------------
I this issue fixed? In the trunk branch I could not see the code you mentioned. Rather the job configuration has been done by the modern way.
{code}
Job job = new Job(conf, "word count");
job.setJarByClass(WordCount.class);
> WordCount.java in mapreduce-examples.jar uses deprecated job object creation API
> --------------------------------------------------------------------------------
>
> Key: MAPREDUCE-6181
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6181
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Affects Versions: trunk
> Reporter: sachin
> Assignee: Arijit Chattopadhyay
> Priority: Trivial
>
> In the trunk branch the mapreduce-examples.jar contains a WordCount class. In which deprecated Job object has been used. So this Jira is to fix the deprecation warning.
> {code:title=WordCount.java|borderStyle=solid}
> // Currently : Job job = new Job(conf, "word count");
> Job job = Job.getInstance(conf);
> job.setJobName("word count");
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)