[ https://issues.apache.org/jira/browse/MAPREDUCE-6181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14237633#comment-14237633 ]
Suraj Nayak M commented on MAPREDUCE-6181: ------------------------------------------ Should this JIRA be marked Duplicate and close it ? > 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: sachin > 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)