Description
From https://builds.apache.org/job/PreCommit-YARN-Build/9661/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client-jdk1.7.0_79.txt, we can see the tests in TestYarnClient, TestAMRMClient and TestNMClient get timeout which can be reproduced locally.
When /etc/hosts has multiple loopback entries, InetAddress.getByName(null) will be returning the first entry present in etc/hosts. Hence its possible that machine hostname can be second in list and cause UnKnownHostException.
Suggesting a direct resolve for such hostname scenarios.
Attachments
Attachments
Issue Links
- blocks
-
HADOOP-12911 Upgrade Hadoop MiniKDC with Kerby
- Resolved
- duplicates
-
YARN-4306 Test failure: TestClientRMTokens
- Resolved
-
YARN-4318 Test failure: TestAMAuthorization
- Resolved
- relates to
-
YARN-4306 Test failure: TestClientRMTokens
- Resolved
-
YARN-4318 Test failure: TestAMAuthorization
- Resolved
-
YARN-4478 [Umbrella] : Track all the Test failures in YARN
- Resolved