[
https://issues.apache.org/jira/browse/MAPREDUCE-6413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14598640#comment-14598640
]
zhihai xu commented on MAPREDUCE-6413:
--------------------------------------
Hi [~jlowe], thanks for reporting this issue. I did a little bit of study, I
find out this test is broken by YARN-3835.
Because this test depends on the configuration
"hadoop.security.token.service.use_ip" which is set at core-site.xml
{code}
<property>
<name>hadoop.security.token.service.use_ip</name>
<value>false</value>
</property>
{code}
I can think of two ways to fix this issue:
# Use MiniDFSCluster instead of a dummy unknown cluster (hdfs://testcluster)
# Set "hadoop.security.token.service.use_ip" configuration to false or call
{{SecurityUtil.setTokenServiceUseIp(false);}}
Option 1 seems better to me, because we can remove the dependency on
"hadoop.security.token.service.use_ip" configuration.
> TestLocalJobSubmission is failing
> ---------------------------------
>
> Key: MAPREDUCE-6413
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6413
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: test
> Affects Versions: 2.7.1
> Reporter: Jason Lowe
> Assignee: zhihai xu
>
> ThestLocalJobSubmission.testLocalJobLibjarsOption is failing with
> java.net.UnknownHostException: testcluster
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)