hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7082) TestContainerManagerSecurity failing in trunk
Date Tue, 10 Oct 2017 06:50:00 GMT

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

Akira Ajisaka commented on YARN-7082:
-------------------------------------

Before YARN-6916, getUser method was not called because there was a guard to skip the method.
The patch added back the guard and overrided getUser method to run the test successfully even
if the log level is debug.

> TestContainerManagerSecurity failing in trunk
> ---------------------------------------------
>
>                 Key: YARN-7082
>                 URL: https://issues.apache.org/jira/browse/YARN-7082
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Varun Saxena
>            Assignee: Akira Ajisaka
>         Attachments: YARN-7082.001.patch
>
>
> {noformat}
> Running org.apache.hadoop.yarn.server.TestContainerManagerSecurity
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 58.536 sec <<<
FAILURE! - in org.apache.hadoop.yarn.server.TestContainerManagerSecurity
> testContainerManager[Simple](org.apache.hadoop.yarn.server.TestContainerManagerSecurity)
 Time elapsed: 31.537 sec  <<< ERROR!
> java.lang.NullPointerException: null
> 	at org.apache.hadoop.yarn.security.ContainerTokenIdentifier.getUser(ContainerTokenIdentifier.java:265)
> 	at org.apache.hadoop.yarn.server.security.BaseContainerTokenSecretManager.createPassword(BaseContainerTokenSecretManager.java:90)
> 	at org.apache.hadoop.yarn.server.TestContainerManagerSecurity.testContainerToken(TestContainerManagerSecurity.java:678)
> 	at org.apache.hadoop.yarn.server.TestContainerManagerSecurity.testContainerManager(TestContainerManagerSecurity.java:170)
> testContainerManager[Secure](org.apache.hadoop.yarn.server.TestContainerManagerSecurity)
 Time elapsed: 26.779 sec  <<< ERROR!
> java.lang.NullPointerException: null
> 	at org.apache.hadoop.yarn.security.ContainerTokenIdentifier.getUser(ContainerTokenIdentifier.java:265)
> 	at org.apache.hadoop.yarn.server.security.BaseContainerTokenSecretManager.createPassword(BaseContainerTokenSecretManager.java:90)
> 	at org.apache.hadoop.yarn.server.TestContainerManagerSecurity.testContainerToken(TestContainerManagerSecurity.java:678)
> 	at org.apache.hadoop.yarn.server.TestContainerManagerSecurity.testContainerManager(TestContainerManagerSecurity.java:170)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message