You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Pranay Varma (JIRA)" <ji...@apache.org> on 2013/06/23 00:11:19 UTC

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

Pranay Varma created MAPREDUCE-5341:
---------------------------------------

             Summary: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira