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 "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2014/03/18 20:26:44 UTC

[jira] [Resolved] (MAPREDUCE-5341) All constructors for Job are deprecated. There is no indication of what the alternative is.

     [ https://issues.apache.org/jira/browse/MAPREDUCE-5341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akira AJISAKA resolved MAPREDUCE-5341.
--------------------------------------

    Resolution: Duplicate

Closing as duplicated. The patch uploaded at MAPREDUCE-5597 will fix this issue.
Thanks for the report, [~varma.pranay]!

> All constructors for Job are deprecated. There is no indication of what the alternative is.
> -------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5341
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5341
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 2.1.0-beta, 2.0.5-alpha
>         Environment: Does not matter
>            Reporter: Pranay Varma
>
> http://hadoop.apache.org/docs/current/api/org/apache/hadoop/mapreduce/Job.html#isRetired%28%29
> Job constructors are deprecated and the user is supposed to use getInstance but this is not mentioned anywhere. 
> As a rule, all javadocs should be reviewed for deprecated methods/fields to indicate whether an alternative exists or not and if the alternative exists, what is the alternative.



--
This message was sent by Atlassian JIRA
(v6.2#6252)