Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5346

The example provided in the javadoc for Job is outdated.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor 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.

        Issue Links

          Activity

          Akira AJISAKA made changes -
          Link This issue is related to MAPREDUCE-5597 [ MAPREDUCE-5597 ]
          Akira AJISAKA made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Target Version/s 2.4.0 [ 12326141 ]
          Assignee Akira AJISAKA [ ajisakaa ]
          Resolution Duplicate [ 3 ]
          Akira AJISAKA made changes -
          Link This issue Is contained by MAPREDUCE-5597 [ MAPREDUCE-5597 ]
          Akira AJISAKA made changes -
          Link This issue is related to MAPREDUCE-5597 [ MAPREDUCE-5597 ]
          Akira AJISAKA made changes -
          Link This issue is related to MAPREDUCE-5800 [ MAPREDUCE-5800 ]
          Akira AJISAKA made changes -
          Target Version/s 3.0.0, trunk, 2.1.0-beta [ 12320355, 12320360, 12324032 ] 2.4.0 [ 12326141 ]
          Priority Major [ 3 ] Minor [ 4 ]
          Akira AJISAKA made changes -
          Target Version/s 3.0.0, trunk, 2.1.0-beta [ 12320355, 12320360, 12324032 ]
          Tsuyoshi Ozawa made changes -
          Hadoop Flags Reviewed [ 10343 ]
          Akira AJISAKA made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Akira AJISAKA made changes -
          Attachment MAPREDUCE-5346-1.patch [ 12591053 ]
          Akira AJISAKA made changes -
          Assignee Akira AJISAKA [ ajisakaa ]
          Tsuyoshi Ozawa made changes -
          Field Original Value New Value
          Labels newbie
          Pranay Varma created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Pranay Varma
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development