[ https://issues.apache.org/jira/browse/BUILDS-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14088846#comment-14088846 ]
stack commented on BUILDS-4: ---------------------------- [~giridharan.kesa...@cognizant.com] We only fail on this one host? On others we just work? I presume the hadoop group made up of more than one host and these tests don't always fail. When I run above little program on a few machines I get: On mac laptop: kalashnikov:hbase.git stack$ java Hostname localhost/127.0.0.1 /0.0.0.0:0 On a linux machine: [stack@c2020 ~]$ java Hostname c2020.halxg.cloudera.com/10.20.84.26 /0.0.0.0:0 They don't fail with UnknownHostException These tests pass most anywhere else they run. > 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)