[
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)