hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1463) TestContainerManagerSecurity#testContainerManager fails
Date Tue, 03 Dec 2013 04:35:37 GMT

    [ https://issues.apache.org/jira/browse/YARN-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13837320#comment-13837320
] 

Haohui Mai commented on YARN-1463:
----------------------------------

I looked into TestContainerManagerSecurity. I'm not familiar with the code, but it seems to
me that the code is testing the secure set up. The unit test does not pass any principals
/ keytabs in the configuration, therefore spnego will always be disabled.

I'm not an expert of the YARN code, but it seems to me that you won't be able to get the right
token when spnego is disabled. Maybe someone more familiar with the code can comment on this.

> TestContainerManagerSecurity#testContainerManager fails
> -------------------------------------------------------
>
>                 Key: YARN-1463
>                 URL: https://issues.apache.org/jira/browse/YARN-1463
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Binglin Chang
>         Attachments: YARN-1463.000.patch, YARN-1463.v1.patch
>
>
> Here is stack trace:
> {code}
> testContainerManager[1](org.apache.hadoop.yarn.server.TestContainerManagerSecurity) 
Time elapsed: 1.756 sec  <<< ERROR!
> org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.io.IOException: ResourceManager
failed to start. Final state is STOPPED
>   at org.apache.hadoop.yarn.server.MiniYARNCluster$ResourceManagerWrapper.serviceStart(MiniYARNCluster.java:253)
>   at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
>   at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:121)
>   at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
>   at org.apache.hadoop.yarn.server.TestContainerManagerSecurity.testContainerManager(TestContainerManagerSecurity.java:110)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message