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

RecoveryManager not initialized in SimulatorJobTracker led to NPE in JT Jetty server

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0, 0.22.0
    • Fix Version/s: 0.21.0
    • Component/s: contrib/mumak
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      RecoveryManager initialization is not copied to the JobTracker constructor Mumak depends on. This leads to NPE in JT Jetty server.

      1. mapreduce-1104-20091014.patch
        2 kB
        Hong Tang
      2. mapreduce-1104.patch
        0.8 kB
        Hong Tang

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Patch Available Patch Available Open Open
          22h 45m 1 Hong Tang 14/Oct/09 21:35
          Open Open Patch Available Patch Available
          2m 32s 2 Hong Tang 14/Oct/09 21:35
          Patch Available Patch Available Resolved Resolved
          3d 13h 5m 1 Chris Douglas 18/Oct/09 10:41
          Resolved Resolved Closed Closed
          310d 11h 37m 1 Tom White 24/Aug/10 22:18
          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk #116 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk/116/)
          . Initialize RecoveryManager in JobTracker cstr called by Mumak.
          Contributed by Hong Tang

          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #116 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk/116/ ) . Initialize RecoveryManager in JobTracker cstr called by Mumak. Contributed by Hong Tang
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk-Commit #79 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/79/)
          . Initialize RecoveryManager in JobTracker cstr called by Mumak.
          Contributed by Hong Tang

          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #79 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/79/ ) . Initialize RecoveryManager in JobTracker cstr called by Mumak. Contributed by Hong Tang
          Chris Douglas made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Fix Version/s 0.22.0 [ 12314184 ]
          Resolution Fixed [ 1 ]
          Hide
          Chris Douglas added a comment -

          +1

          I committed this. Thanks, Hong!

          Show
          Chris Douglas added a comment - +1 I committed this. Thanks, Hong!
          Hide
          Hadoop QA added a comment -

          +1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12422136/mapreduce-1104-20091014.patch
          against trunk revision 825083.

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

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

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

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

          +1 findbugs. The patch does not introduce any new Findbugs warnings.

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

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

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

          Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h3.grid.sp2.yahoo.net/74/testReport/
          Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h3.grid.sp2.yahoo.net/74/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
          Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h3.grid.sp2.yahoo.net/74/artifact/trunk/build/test/checkstyle-errors.html
          Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h3.grid.sp2.yahoo.net/74/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/12422136/mapreduce-1104-20091014.patch against trunk revision 825083. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h3.grid.sp2.yahoo.net/74/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h3.grid.sp2.yahoo.net/74/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h3.grid.sp2.yahoo.net/74/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h3.grid.sp2.yahoo.net/74/console This message is automatically generated.
          Hong Tang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hong Tang made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Hong Tang made changes -
          Attachment mapreduce-1104-20091014.patch [ 12422136 ]
          Hide
          Hong Tang added a comment -

          Making a few member variables "final" so that they will always be properly initialized.

          Show
          Hong Tang added a comment - Making a few member variables "final" so that they will always be properly initialized.
          Hong Tang made changes -
          Link This issue blocks MAPREDUCE-1111 [ MAPREDUCE-1111 ]
          Hong Tang made changes -
          Link This issue is blocked by MAPREDUCE-1111 [ MAPREDUCE-1111 ]
          Hong Tang made changes -
          Link This issue is blocked by MAPREDUCE-1111 [ MAPREDUCE-1111 ]
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12422027/mapreduce-1104.patch
          against trunk revision 824750.

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

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

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

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

          +1 findbugs. The patch does not introduce any new Findbugs warnings.

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

          -1 core tests. The patch failed core unit tests.

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

          Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/164/testReport/
          Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/164/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
          Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/164/artifact/trunk/build/test/checkstyle-errors.html
          Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/164/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/12422027/mapreduce-1104.patch against trunk revision 824750. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/164/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/164/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/164/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/164/console This message is automatically generated.
          Hong Tang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hong Tang made changes -
          Attachment mapreduce-1104.patch [ 12422027 ]
          Hide
          Hong Tang added a comment -

          Trivial patch. Verified to work by pointing the browser to JT interface http://localhost:50030/.

          Show
          Hong Tang added a comment - Trivial patch. Verified to work by pointing the browser to JT interface http://localhost:50030/ .
          Hong Tang made changes -
          Field Original Value New Value
          Assignee Hong Tang [ hong.tang ]
          Hong Tang created issue -

            People

            • Assignee:
              Hong Tang
              Reporter:
              Hong Tang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development