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

TestMRServerPorts throws NullReferenceException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.1.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      TestMRServerPorts throws

      java.lang.NullPointerException
          at org.apache.hadoop.mapred.TestMRServerPorts.canStartJobTracker(TestMRServerPorts.java:99)
          at org.apache.hadoop.mapred.TestMRServerPorts.testJobTrackerPorts(TestMRServerPorts.java:152)
      

      Use the JobTracker.startTracker(string, string, boolean initialize) factory method to get a pre-initialized JobTracker for the test.

      1. mapreduce-4696.patch
        0.5 kB
        Gopal V
      2. mapreduce-4696-2.patch
        1 kB
        Gopal V

        Activity

        Gopal V created issue -
        Hide
        Gopal V added a comment -

        Potential break of test-case due to the just-in-time init conf introduced by

        https://github.com/apache/hadoop-common/commit/31476670aa3de8b553aa6345cf56c67968f9dabc

        Show
        Gopal V added a comment - Potential break of test-case due to the just-in-time init conf introduced by https://github.com/apache/hadoop-common/commit/31476670aa3de8b553aa6345cf56c67968f9dabc
        Hide
        Gopal V added a comment -

        Patch to test-case

        Show
        Gopal V added a comment - Patch to test-case
        Gopal V made changes -
        Field Original Value New Value
        Attachment mapreduce-4696.patch [ 12547297 ]
        Hide
        Matt Foley added a comment -

        Simple fix looks basically okay to me. Question: should the jt.fs.close be before or after the jt.stopTracker call?

        Show
        Matt Foley added a comment - Simple fix looks basically okay to me. Question: should the jt.fs.close be before or after the jt.stopTracker call?
        Suresh Srinivas made changes -
        Assignee Gopal V [ gopalv ]
        Hide
        Gopal V added a comment -

        Patch from MAPREDUCE-4698 resolves this cleanly

        Show
        Gopal V added a comment - Patch from MAPREDUCE-4698 resolves this cleanly
        Gopal V made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Matt Foley added a comment -

        or not.

        Show
        Matt Foley added a comment - or not.
        Matt Foley made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Gopal V added a comment -

        Missing changeset to match MAPREDUCE-4698's patch

        Show
        Gopal V added a comment - Missing changeset to match MAPREDUCE-4698 's patch
        Gopal V made changes -
        Attachment mapreduce-4696-2.patch [ 12548045 ]
        Hide
        Gopal V added a comment -

        Last patch was superseded by this change which was not included in the MAPREDUCE-4698 patch/commit.

        Show
        Gopal V added a comment - Last patch was superseded by this change which was not included in the MAPREDUCE-4698 patch/commit.
        Gopal V made changes -
        Status Reopened [ 4 ] Patch Available [ 10002 ]
        Release Note Use the JobTracker.startTracker(string, string, boolean initialize) factory method to get a pre-initialized JobTracker for the test
        Hide
        Hadoop QA added a comment -

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

        -1 patch. The patch command could not apply the patch.

        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2910//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/12548045/mapreduce-4696-2.patch against trunk revision . -1 patch . The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2910//console This message is automatically generated.
        Hide
        Siddharth Seth added a comment -

        +1. Simple enough patch. Will commit this shortly.

        Show
        Siddharth Seth added a comment - +1. Simple enough patch. Will commit this shortly.
        Hide
        Siddharth Seth added a comment -

        Committed. Thanks Gopal!

        Show
        Siddharth Seth added a comment - Committed. Thanks Gopal!
        Siddharth Seth made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 1.1.2 [ 12323594 ]
        Resolution Fixed [ 1 ]
        Matt Foley made changes -
        Release Note Use the JobTracker.startTracker(string, string, boolean initialize) factory method to get a pre-initialized JobTracker for the test
        Description TestMRServerPorts throws

        {code}
        java.lang.NullPointerException
            at org.apache.hadoop.mapred.TestMRServerPorts.canStartJobTracker(TestMRServerPorts.java:99)
            at org.apache.hadoop.mapred.TestMRServerPorts.testJobTrackerPorts(TestMRServerPorts.java:152)
        {code}

        TestMRServerPorts throws

        {code}
        java.lang.NullPointerException
            at org.apache.hadoop.mapred.TestMRServerPorts.canStartJobTracker(TestMRServerPorts.java:99)
            at org.apache.hadoop.mapred.TestMRServerPorts.testJobTrackerPorts(TestMRServerPorts.java:152)
        {code}

        Use the JobTracker.startTracker(string, string, boolean initialize) factory method to get a pre-initialized JobTracker for the test.
        Hide
        Matt Foley added a comment -

        Closed upon successful release of 1.1.2.

        Show
        Matt Foley added a comment - Closed upon successful release of 1.1.2.
        Matt Foley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        2d 22h 33m 1 Gopal V 04/Oct/12 22:05
        Resolved Resolved Reopened Reopened
        23h 53m 1 Matt Foley 05/Oct/12 21:58
        Reopened Reopened Patch Available Patch Available
        11m 24s 1 Gopal V 05/Oct/12 22:10
        Patch Available Patch Available Resolved Resolved
        61d 1h 21m 1 Siddharth Seth 05/Dec/12 22:31
        Resolved Resolved Closed Closed
        90d 11h 24m 1 Matt Foley 06/Mar/13 09:56

          People

          • Assignee:
            Gopal V
            Reporter:
            Gopal V
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development