hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5346) The example provided in the javadoc for Job is outdated.
Date Fri, 05 Jul 2013 23:25:48 GMT

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

Akira AJISAKA commented on MAPREDUCE-5346:

I attached a patch to fix javadoc.
> 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
>            Assignee: Akira AJISAKA
>              Labels: newbie
>         Attachments: MAPREDUCE-5346-1.patch
> 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

View raw message