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

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Patch Available Patch Available
          13d 36m 1 Akira AJISAKA 06/Jul/13 00:21
          Patch Available Patch Available Resolved Resolved
          264d 2h 53m 1 Akira AJISAKA 27/Mar/14 02:14
          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 ]
          Hide
          Akira AJISAKA added a comment -

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

          Show
          Akira AJISAKA added a comment - The v2 patch in MAPREDUCE-5597 will fix this issue, so I close it.
          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 ]
          Hide
          Hadoop QA added a comment -

          +1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12591053/MAPREDUCE-5346-1.patch
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          +0 tests included. The patch appears to be a documentation patch that doesn't require tests.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 javadoc. There were no new javadoc warning messages.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          +1 core tests. The patch passed unit tests in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core.

          +1 contrib tests. The patch passed contrib unit tests.

          Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/4439//testReport/
          Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/4439//console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - +1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12591053/MAPREDUCE-5346-1.patch against trunk revision . +1 @author . The patch does not contain any @author tags. +0 tests included . The patch appears to be a documentation patch that doesn't require tests. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . There were no new javadoc warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core. +1 contrib tests . The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/4439//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/4439//console This message is automatically generated.
          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 ]
          Hide
          Tsuyoshi Ozawa added a comment -

          +1

          Show
          Tsuyoshi Ozawa added a comment - +1
          Tsuyoshi Ozawa made changes -
          Hadoop Flags Reviewed [ 10343 ]
          Hide
          Hadoop QA added a comment -

          +1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12591053/MAPREDUCE-5346-1.patch
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          +0 tests included. The patch appears to be a documentation patch that doesn't require tests.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 javadoc. The javadoc tool did not generate any warning messages.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          +1 core tests. The patch passed unit tests in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core.

          +1 contrib tests. The patch passed contrib unit tests.

          Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3839//testReport/
          Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3839//console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - +1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12591053/MAPREDUCE-5346-1.patch against trunk revision . +1 @author . The patch does not contain any @author tags. +0 tests included . The patch appears to be a documentation patch that doesn't require tests. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . The javadoc tool did not generate any warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core. +1 contrib tests . The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3839//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3839//console This message is automatically generated.
          Hide
          Akira AJISAKA added a comment -

          I attached a patch to fix javadoc.

          Show
          Akira AJISAKA added a comment - I attached a patch to fix javadoc.
          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