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:46:20 UTC
[jira] [Created] (MAPREDUCE-5346) The example provided in the
javadoc for Job is outdated.
Pranay Varma created MAPREDUCE-5346:
---------------------------------------
Summary: The example provided in the javadoc for Job is outdated.
Key: MAPREDUCE-5346
URL: https://issues.apache.org/jira/browse/MAPREDUCE-5346
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: documentation
Affects Versions: 2.1.0-beta, 2.0.5-alpha
Reporter: Pranay Varma
This is a portion of the job example:
Here is an example on how to submit a job:
// Create a new Job
Job job = new Job(new Configuration());
This way of creating a job is deprecated. The user is supposed to use Job.getInstance. The example should be changed to reflect the new paradigm.
--
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