[ 
https://issues.apache.org/jira/browse/MAPREDUCE-6181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14237351#comment-14237351
 ] 

Akira AJISAKA commented on MAPREDUCE-6181:
------------------------------------------

bq. I think we can create a common JIRA for fixing all the deprication warnings 
in the examples package instead of only WordCount.java

I created a patch to fix the deprecation warnings of Job instances in 
MAPREDUCE-5800 about half a year ago. I'm thinking this patch will fix this 
issue.

> 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)

Reply via email to