hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5208) Run TestAMRMClient TestNMClient TestYarnClient TestClientRMTokens TestAMRMTokens tests with hadoop.security.token.service.use_ip enabled
Date Tue, 07 Jun 2016 18:57:20 GMT

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

Sunil G commented on YARN-5208:
-------------------------------

Using default up resolver was used earlier and it might be enough for client tests. With first
patch, many of the regularly failing test classes are passing. But as you mentioned, there
will be impact in HA or some other test cases where we use host name through conf. I think
such cases can be fixed. 

> Run TestAMRMClient TestNMClient TestYarnClient TestClientRMTokens TestAMRMTokens tests
with hadoop.security.token.service.use_ip enabled
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-5208
>                 URL: https://issues.apache.org/jira/browse/YARN-5208
>             Project: Hadoop YARN
>          Issue Type: Test
>          Components: test
>            Reporter: Rohith Sharma K S
>            Assignee: Rohith Sharma K S
>            Priority: Blocker
>              Labels: test
>         Attachments: 0001-YARN-5208.patch, 0002-YARN-5208.patch
>
>
> All YARN test cases are running with *hadoop.security.token.service.use_ip* disabled.
As a result few tests {{TestAMRMClient TestNMClient TestYarnClient TestClientRMTokens TestAMRMTokens}}
cases are consistently failing because of unable to resolve hostname(see HADOOP-12687 YARN-4306
YARN-4318)
> I would suggest to run tests with *hadoop.security.token.service.use_ip* enabled by default.
And for the HA test cases which require mandatory disabling , change test cases as required
by setting 
> {code}
> conf.setBoolean(
>         CommonConfigurationKeys.HADOOP_SECURITY_TOKEN_SERVICE_USE_IP, false);
>     SecurityUtil.setConfiguration(conf);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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