www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giridharan Kesavan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BUILDS-4) UnknownHostException: asf904.ygridcore.net
Date Thu, 07 Aug 2014 17:48:13 GMT

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

Giridharan Kesavan commented on BUILDS-4:
-----------------------------------------

[~stack]

here is what I see on the machine:
{code}
root@asf901:~# cat /etc/hostname
asf901.gq1.ygridcore.net
{code}
{code}
root@asf901:~# hostname
asf901.gq1.ygridcore.net
{code}
{code}
root@asf901:~# cat /etc/hosts
127.0.0.1 localhost
67.195.81.145 asf901.gq1.ygridcore.net asf901

# The following lines are   desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
{code}
{code}
root@asf901:~# java Hostname
asf901.gq1.ygridcore.net/67.195.81.145
/0.0.0.0:0
{code}


> UnknownHostException: asf904.ygridcore.net
> ------------------------------------------
>
>                 Key: BUILDS-4
>                 URL: https://issues.apache.org/jira/browse/BUILDS-4
>             Project: Infra Build Platform
>          Issue Type: New Feature
>            Reporter: stack
>
> Some of our tests are failing because they fail to resolve a host.
> The way the test works is it puts up an rpc server then asks the socket what its address
is, passes the address in same process for use by a client and it fails UnknownHostException.
 A few tests fail this way.  Anything INFRA can do to fix the host resolve?
> Thanks.
> {code}
> 2014-08-05 07:33:21,747 INFO  [pool-1-thread-1] ipc.TestIPC(269): Caught expected exception:
java.net.UnknownHostException: asf904.ygridcore.net: asf904.ygridcore.net
> 2014-08-05 07:33:21,748 DEBUG [pool-1-thread-1] ipc.RpcClient(1441): Stopping rpc client
> 2014-08-05 07:33:21,748 INFO  [pool-1-thread-1] ipc.RpcServer(2109): Stopping server
on 54170
> 2014-08-05 07:33:21,750 INFO  [RpcServer.listener,port=54170] ipc.RpcServer$Listener(715):
RpcServer.listener,port=54170: stopping
> 2014-08-05 07:33:21,751 INFO  [RpcServer.responder] ipc.RpcServer$Responder(948): RpcServer.responder:
stopped
> 2014-08-05 07:33:21,751 INFO  [RpcServer.responder] ipc.RpcServer$Responder(857): RpcServer.responder:
stopping
> 2014-08-05 07:33:21,775 INFO  [pool-1-thread-1] hbase.ResourceChecker(171): after: ipc.TestIPC#testRTEDuringConnectionSetup
Thread=274 (was 272)
> Potentially hanging thread: RpcServer.reader=0,port=54170
> 	sun.misc.Unsafe.park(Native Method)
> 	java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
> 	java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834)
> 	java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:867)
> 	java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1197)
> 	java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:214)
> 	java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:290)
> 	java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:998)
> 	java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1163)
> 	java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	java.lang.Thread.run(Thread.java:744)
> {code}



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

Mime
View raw message