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 "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2015/02/07 01:19:35 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 ]

Akira AJISAKA updated MAPREDUCE-4255:
-------------------------------------
    Resolution: Duplicate
        Status: Resolved  (was: Patch Available)

This issue seems to be fixed by YARN-530. Feel free to reopen if you disagree.

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)