You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Mit Desai (JIRA)" <ji...@apache.org> on 2014/01/23 19:30:38 UTC

[jira] [Updated] (YARN-1628) TestContainerManagerSecurity fails on trunk

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

Mit Desai updated YARN-1628:
----------------------------

    Attachment: YARN-1628.patch

Attaching the patch.
The argument "InvalidHost" was not a valid argument which resulted into throwing UnknownHostException.

> TestContainerManagerSecurity fails on trunk
> -------------------------------------------
>
>                 Key: YARN-1628
>                 URL: https://issues.apache.org/jira/browse/YARN-1628
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.2.0
>            Reporter: Mit Desai
>            Assignee: Mit Desai
>         Attachments: YARN-1628.patch
>
>
> The Test fails with the following error
> {noformat}
> java.lang.IllegalArgumentException: java.net.UnknownHostException: InvalidHost
> 	at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:377)
> 	at org.apache.hadoop.yarn.server.security.BaseNMTokenSecretManager.newInstance(BaseNMTokenSecretManager.java:145)
> 	at org.apache.hadoop.yarn.server.security.BaseNMTokenSecretManager.createNMToken(BaseNMTokenSecretManager.java:136)
> 	at org.apache.hadoop.yarn.server.TestContainerManagerSecurity.testNMTokens(TestContainerManagerSecurity.java:253)
> 	at org.apache.hadoop.yarn.server.TestContainerManagerSecurity.testContainerManager(TestContainerManagerSecurity.java:144)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)