You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Ravi Gummadi (JIRA)" <ji...@apache.org> on 2010/08/03 10:31:18 UTC

[jira] Created: (MAPREDUCE-1992) NPE in JobTracker's constructor

NPE in JobTracker's constructor
-------------------------------

                 Key: MAPREDUCE-1992
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: jobtracker
            Reporter: Ravi Gummadi


On my local machine, JobTracker is coming up with current trunk. Logs show the following NPE:

2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
  at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
  at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
  at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
  at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
  at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
  at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)

2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-1992) NPE in JobTracker's constructor

Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895391#action_12895391 ] 

Devaraj Das commented on MAPREDUCE-1992:
----------------------------------------

Although the patch solves the issue at hand, I will like to understand how the testcases, that all have unsecure setup, are passing without the patch. Kan, could you please dig a bit deeper and get the explanation. Thanks!

> NPE in JobTracker's constructor
> -------------------------------
>
>                 Key: MAPREDUCE-1992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.22.0
>            Reporter: Ravi Gummadi
>            Assignee: Kan Zhang
>             Fix For: 0.22.0
>
>         Attachments: m1992-02.patch
>
>
> On my local machine, JobTracker is *not* coming up with current trunk. Logs show the following NPE:
> 2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
>   at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
>   at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
>   at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)
> 2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-1992) NPE in JobTracker's constructor

Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895342#action_12895342 ] 

Kan Zhang commented on MAPREDUCE-1992:
--------------------------------------

This patch has been manually verified. Simply bring up a jobtracker with security turned off and check it's up properly and no NPE is thrown.

> NPE in JobTracker's constructor
> -------------------------------
>
>                 Key: MAPREDUCE-1992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.22.0
>            Reporter: Ravi Gummadi
>            Assignee: Kan Zhang
>             Fix For: 0.22.0
>
>         Attachments: m1992-02.patch
>
>
> On my local machine, JobTracker is *not* coming up with current trunk. Logs show the following NPE:
> 2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
>   at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
>   at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
>   at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)
> 2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-1992) NPE in JobTracker's constructor

Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kan Zhang updated MAPREDUCE-1992:
---------------------------------

    Attachment: m1992-02.patch

Attach a patch. Can't run tests on it since trunk is broken.

> NPE in JobTracker's constructor
> -------------------------------
>
>                 Key: MAPREDUCE-1992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Ravi Gummadi
>         Attachments: m1992-02.patch
>
>
> On my local machine, JobTracker is *not* coming up with current trunk. Logs show the following NPE:
> 2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
>   at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
>   at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
>   at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)
> 2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-1992) NPE in JobTracker's constructor

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Douglas updated MAPREDUCE-1992:
-------------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

Resolving, as the patch has been committed.

> NPE in JobTracker's constructor
> -------------------------------
>
>                 Key: MAPREDUCE-1992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.22.0
>            Reporter: Ravi Gummadi
>            Assignee: Kan Zhang
>             Fix For: 0.22.0
>
>         Attachments: m1992-02.patch
>
>
> On my local machine, JobTracker is *not* coming up with current trunk. Logs show the following NPE:
> 2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
>   at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
>   at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
>   at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)
> 2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-1992) NPE in JobTracker's constructor

Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kan Zhang updated MAPREDUCE-1992:
---------------------------------

    Status: Patch Available  (was: Open)

> NPE in JobTracker's constructor
> -------------------------------
>
>                 Key: MAPREDUCE-1992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Ravi Gummadi
>         Attachments: m1992-02.patch
>
>
> On my local machine, JobTracker is *not* coming up with current trunk. Logs show the following NPE:
> 2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
>   at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
>   at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
>   at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)
> 2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-1992) NPE in JobTracker's constructor

Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895418#action_12895418 ] 

Devaraj Das commented on MAPREDUCE-1992:
----------------------------------------

Okay. I have committed the fix to trunk (since the fix seems the right thing to do anyway) but please investigate why the unit tests didn't catch the problem earlier. I am not marking the issue "resolved" yet.

> NPE in JobTracker's constructor
> -------------------------------
>
>                 Key: MAPREDUCE-1992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.22.0
>            Reporter: Ravi Gummadi
>            Assignee: Kan Zhang
>             Fix For: 0.22.0
>
>         Attachments: m1992-02.patch
>
>
> On my local machine, JobTracker is *not* coming up with current trunk. Logs show the following NPE:
> 2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
>   at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
>   at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
>   at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)
> 2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-1992) NPE in JobTracker's constructor

Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895072#action_12895072 ] 

Kan Zhang commented on MAPREDUCE-1992:
--------------------------------------

> Is this related to MAPREDUCE-1945

Yes. I manually verified the patch on a secure cluster, but forgot to check when security is turned off.

> NPE in JobTracker's constructor
> -------------------------------
>
>                 Key: MAPREDUCE-1992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Ravi Gummadi
>         Attachments: m1992-02.patch
>
>
> On my local machine, JobTracker is *not* coming up with current trunk. Logs show the following NPE:
> 2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
>   at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
>   at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
>   at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)
> 2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-1992) NPE in JobTracker's constructor

Posted by "Ravi Gummadi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894843#action_12894843 ] 

Ravi Gummadi commented on MAPREDUCE-1992:
-----------------------------------------

Is this related to MAPREDUCE-1945 which added this call to UserGroupInformation.isLoginKeytabBased() recently ?

> NPE in JobTracker's constructor
> -------------------------------
>
>                 Key: MAPREDUCE-1992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Ravi Gummadi
>
> On my local machine, JobTracker is coming up with current trunk. Logs show the following NPE:
> 2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
>   at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
>   at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
>   at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)
> 2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-1992) NPE in JobTracker's constructor

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895121#action_12895121 ] 

Hadoop QA commented on MAPREDUCE-1992:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12451174/m1992-02.patch
  against trunk revision 982087.

    +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-h4.grid.sp2.yahoo.net/349/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/349/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/349/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/349/console

This message is automatically generated.

> NPE in JobTracker's constructor
> -------------------------------
>
>                 Key: MAPREDUCE-1992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Ravi Gummadi
>         Attachments: m1992-02.patch
>
>
> On my local machine, JobTracker is *not* coming up with current trunk. Logs show the following NPE:
> 2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
>   at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
>   at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
>   at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)
> 2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-1992) NPE in JobTracker's constructor

Posted by "Ravi Gummadi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Gummadi updated MAPREDUCE-1992:
------------------------------------

    Description: 
On my local machine, JobTracker is *not* coming up with current trunk. Logs show the following NPE:

2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
  at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
  at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
  at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
  at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
  at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
  at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)

2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

  was:
On my local machine, JobTracker is coming up with current trunk. Logs show the following NPE:

2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
  at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
  at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
  at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
  at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
  at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
  at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)

2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:


> NPE in JobTracker's constructor
> -------------------------------
>
>                 Key: MAPREDUCE-1992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Ravi Gummadi
>
> On my local machine, JobTracker is *not* coming up with current trunk. Logs show the following NPE:
> 2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
>   at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
>   at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
>   at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)
> 2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-1992) NPE in JobTracker's constructor

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated MAPREDUCE-1992:
-----------------------------------------------

               Status: Open  (was: Patch Available)
    Affects Version/s: 0.22.0
             Assignee: Kan Zhang
        Fix Version/s: 0.22.0

Resubmitting for hudson as there are many test failures because of NoClassDefFoundError 

> NPE in JobTracker's constructor
> -------------------------------
>
>                 Key: MAPREDUCE-1992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.22.0
>            Reporter: Ravi Gummadi
>            Assignee: Kan Zhang
>             Fix For: 0.22.0
>
>         Attachments: m1992-02.patch
>
>
> On my local machine, JobTracker is *not* coming up with current trunk. Logs show the following NPE:
> 2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
>   at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
>   at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
>   at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)
> 2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-1992) NPE in JobTracker's constructor

Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895894#action_12895894 ] 

Kan Zhang commented on MAPREDUCE-1992:
--------------------------------------

Looks like I screwed it up when I ran tests for MAPREDUCE-1945, since the Hudson run for MAPREDUCE-1993 clearly caught this bug. I ran my local test again and caught it, too.

> NPE in JobTracker's constructor
> -------------------------------
>
>                 Key: MAPREDUCE-1992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.22.0
>            Reporter: Ravi Gummadi
>            Assignee: Kan Zhang
>             Fix For: 0.22.0
>
>         Attachments: m1992-02.patch
>
>
> On my local machine, JobTracker is *not* coming up with current trunk. Logs show the following NPE:
> 2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
>   at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
>   at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
>   at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)
> 2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-1992) NPE in JobTracker's constructor

Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895406#action_12895406 ] 

Kan Zhang commented on MAPREDUCE-1992:
--------------------------------------

I wonder about that, too. But I suggest we commit this patch now so that other people are unblocked. I'll take a look later on why existing unit tests didn't catch it and open a new jira if necessary.

> NPE in JobTracker's constructor
> -------------------------------
>
>                 Key: MAPREDUCE-1992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.22.0
>            Reporter: Ravi Gummadi
>            Assignee: Kan Zhang
>             Fix For: 0.22.0
>
>         Attachments: m1992-02.patch
>
>
> On my local machine, JobTracker is *not* coming up with current trunk. Logs show the following NPE:
> 2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
>   at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
>   at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
>   at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)
> 2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-1992) NPE in JobTracker's constructor

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926051#action_12926051 ] 

Hudson commented on MAPREDUCE-1992:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #523 (See [https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/523/])
    

> NPE in JobTracker's constructor
> -------------------------------
>
>                 Key: MAPREDUCE-1992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.22.0
>            Reporter: Ravi Gummadi
>            Assignee: Kan Zhang
>             Fix For: 0.22.0
>
>         Attachments: m1992-02.patch
>
>
> On my local machine, JobTracker is *not* coming up with current trunk. Logs show the following NPE:
> 2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
>   at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
>   at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
>   at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)
> 2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-1992) NPE in JobTracker's constructor

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895329#action_12895329 ] 

Hadoop QA commented on MAPREDUCE-1992:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12451174/m1992-02.patch
  against trunk revision 982242.

    +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-h4.grid.sp2.yahoo.net/351/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/351/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/351/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/351/console

This message is automatically generated.

> NPE in JobTracker's constructor
> -------------------------------
>
>                 Key: MAPREDUCE-1992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.22.0
>            Reporter: Ravi Gummadi
>            Assignee: Kan Zhang
>             Fix For: 0.22.0
>
>         Attachments: m1992-02.patch
>
>
> On my local machine, JobTracker is *not* coming up with current trunk. Logs show the following NPE:
> 2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
>   at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
>   at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
>   at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)
> 2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-1992) NPE in JobTracker's constructor

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated MAPREDUCE-1992:
-----------------------------------------------

    Status: Patch Available  (was: Open)

> NPE in JobTracker's constructor
> -------------------------------
>
>                 Key: MAPREDUCE-1992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.22.0
>            Reporter: Ravi Gummadi
>            Assignee: Kan Zhang
>             Fix For: 0.22.0
>
>         Attachments: m1992-02.patch
>
>
> On my local machine, JobTracker is *not* coming up with current trunk. Logs show the following NPE:
> 2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
>   at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
>   at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
>   at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)
> 2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-1992) NPE in JobTracker's constructor

Posted by "Jakob Homan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakob Homan updated MAPREDUCE-1992:
-----------------------------------

    Hadoop Flags: [Reviewed]

+1.  This should work for both secure and unsecure.

> NPE in JobTracker's constructor
> -------------------------------
>
>                 Key: MAPREDUCE-1992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1992
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Ravi Gummadi
>         Attachments: m1992-02.patch
>
>
> On my local machine, JobTracker is *not* coming up with current trunk. Logs show the following NPE:
> 2010-08-03 14:01:41,449 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
>   at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:703)
>   at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1383)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267)
>   at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262)
>   at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4236)
> 2010-08-03 14:01:41,449 INFO org.apache.hadoop.mapred.JobTracker: SHUTDOWN_MSG:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.