Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5346

The example provided in the javadoc for Job is outdated.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.1.0-beta, 2.0.5-alpha
    • Fix Version/s: None
    • Component/s: documentation
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                varma.pranay Pranay Varma
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: