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] [Updated] (MAPREDUCE-5346) The example provided in the javadoc for Job is outdated.
Date Thu, 27 Mar 2014 02:15:19 GMT

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

Akira AJISAKA updated MAPREDUCE-5346:

          Resolution: Duplicate
            Assignee:     (was: Akira AJISAKA)
    Target Version/s:   (was: 2.4.0)
        Hadoop Flags:   (was: Reviewed)
              Status: Resolved  (was: Patch Available)

The v2 patch in MAPREDUCE-5597 will fix this issue, so I close it.

> 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
>            Priority: Minor
>              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 was sent by Atlassian JIRA

View raw message