You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Giridharan Kesavan (JIRA)" <ji...@apache.org> on 2014/07/26 16:59:39 UTC

[jira] [Assigned] (INFRA-8097) Extra newline in /etc/hosts likely caused runtime stuck at java.net.Inet4AddressImpl.getLocalHostName(Native Method)

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

Giridharan Kesavan reassigned INFRA-8097:
-----------------------------------------

    Assignee: Giridharan Kesavan

> Extra newline in /etc/hosts likely caused runtime stuck at java.net.Inet4AddressImpl.getLocalHostName(Native Method)
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: INFRA-8097
>                 URL: https://issues.apache.org/jira/browse/INFRA-8097
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Jenkins
>            Reporter: Yongjun Zhang
>            Assignee: Giridharan Kesavan
>            Priority: Critical
>
> Per jenkins test failure investigation, it's identified that /etc/hosts files in some of the jenkins test slaves have an extra newline, which likely caused runtime stuck at 
> {code}
> java.net.Inet4AddressImpl.getLocalHostName(Native Method)
> {code}
> for some of the testcases (e.g. org.apache.hadoop.ipc.TestIPC.testRetryProxy failure reported in HADOOP-10888, and org.apache.hadoop.hdfs.server.balancer.TestBalancer.testBalancerWithNonZeroThreadsForMove failure seen in HDFS-6588).
> Specifically, the /etc/hosts of https://builds.apache.org/computer/H0/ contains the following,
> {code}
> 127.0.0.1	localhost
>    asf900.ygridcore.net       asf900
> {code}
> which should be on the same line
> {code}
> 127.0.0.1	localhost asf900.ygridcore.net  asf900
> {code}
> Other hosts https://builds.apache.org/computer/H1/, https://builds.apache.org/computer/H2/ etc likely have same problem. Would anyone who has administrator access please help to take a look? thanks a lot.
> Many thanks to [~arpitagarwal] for the help in HADOOP-10888 investigation and the findings reported here. Thanks [~ted_yu] for suggesting filing this infra jira.



--
This message was sent by Atlassian JIRA
(v6.2#6252)