hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhijie Shen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-5681) TestJHSSecurity fails on trunk
Date Fri, 13 Dec 2013 23:37:08 GMT

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

Zhijie Shen updated MAPREDUCE-5681:
-----------------------------------

    Summary: TestJHSSecurity fails on trunk  (was: TestJHSSecurity fails)

> TestJHSSecurity fails on trunk
> ------------------------------
>
>                 Key: MAPREDUCE-5681
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5681
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Zhijie Shen
>
> {code}
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.hadoop.mapreduce.security.TestJHSSecurity
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.763 sec <<<
FAILURE! - in org.apache.hadoop.mapreduce.security.TestJHSSecurity
> testDelegationToken(org.apache.hadoop.mapreduce.security.TestJHSSecurity)  Time elapsed:
1.56 sec  <<< ERROR!
> java.lang.NullPointerException: null
> 	at java.util.Hashtable.get(Hashtable.java:334)
> 	at java.util.Properties.getProperty(Properties.java:932)
> 	at org.apache.hadoop.conf.Configuration.get(Configuration.java:874)
> 	at org.apache.hadoop.http.HttpServer.initSpnego(HttpServer.java:892)
> 	at org.apache.hadoop.http.HttpServer.access$100(HttpServer.java:101)
> 	at org.apache.hadoop.http.HttpServer$Builder.build(HttpServer.java:323)
> 	at org.apache.hadoop.yarn.webapp.WebApps$Builder.start(WebApps.java:232)
> 	at org.apache.hadoop.mapreduce.v2.hs.HistoryClientService.initializeWebApp(HistoryClientService.java:149)
> 	at org.apache.hadoop.mapreduce.v2.hs.HistoryClientService.serviceStart(HistoryClientService.java:118)
> 	at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
> 	at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:121)
> 	at org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.serviceStart(JobHistoryServer.java:175)
> 	at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
> 	at org.apache.hadoop.mapreduce.security.TestJHSSecurity.testDelegationToken(TestJHSSecurity.java:100)
> Results :
> Tests in error: 
>   TestJHSSecurity.testDelegationToken:100 ? NullPointer
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> {code}
> Did some preliminary investigation, in HistoryClientService:
> {code}
>         .withHttpSpnegoPrincipalKey(
>             JHAdminConfig.MR_WEBAPP_SPNEGO_USER_NAME_KEY)
> {code}
> MR_WEBAPP_SPNEGO_USER_NAME_KEY seems not to be in the configuration.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message