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 "Devaraj K (JIRA)" <ji...@apache.org> on 2012/06/08 14:00:25 UTC

[jira] [Updated] (MAPREDUCE-4255) Job History Server throws NPE if it fails to get keytab

     [ https://issues.apache.org/jira/browse/MAPREDUCE-4255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Devaraj K updated MAPREDUCE-4255:
---------------------------------

    Target Version/s: 2.0.1-alpha, 3.0.0
    
> Job History Server throws NPE if it fails to get keytab
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4255
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4255
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Devaraj K
>            Assignee: Devaraj K
>         Attachments: MAPREDUCE-4255.patch
>
>
> {code:xml}
> 2012-05-14 17:59:41,906 FATAL org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer: Error starting JobHistoryServer
> org.apache.hadoop.yarn.YarnException: History Server Failed to login
> 	at org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.init(JobHistoryServer.java:69)
> 	at org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.main(JobHistoryServer.java:132)
> Caused by: java.io.IOException: Running in secure mode, but config doesn't have a keytab
> 	at org.apache.hadoop.security.SecurityUtil.login(SecurityUtil.java:258)
> 	at org.apache.hadoop.security.SecurityUtil.login(SecurityUtil.java:229)
> 	at org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.doSecureLogin(JobHistoryServer.java:98)
> 	at org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.init(JobHistoryServer.java:67)
> 	... 1 more
> 2012-05-14 17:59:41,918 INFO org.apache.hadoop.yarn.service.CompositeService: Error stopping org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.stop(JobHistoryServer.java:115)
> 	at org.apache.hadoop.yarn.service.CompositeService$CompositeServiceShutdownHook.run(CompositeService.java:122)
> 	at org.apache.hadoop.util.ShutdownHookManager$1.run(ShutdownHookManager.java:54)
> 2012-05-14 17:59:41,918 INFO org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer: SHUTDOWN_MSG: 
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira