www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BUILDS-4) UnknownHostException: asf904.ygridcore.net
Date Wed, 06 Aug 2014 21:21:11 GMT

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

stack commented on BUILDS-4:
----------------------------

java.net.UnknownHostException: asf901.ygridcore.net: asf901.ygridcore.net

Anything interesting if you run this program

{code}
import java.net.InetAddress;
import java.net.InetSocketAddress;
public class Hostname {
  public static void main(final String [] args) {
    try {
      System.out.println(InetAddress.getLocalHost());
      System.out.println((new InetSocketAddress("0.0.0.0", 0)));
    } catch (Throwable t) {
      throw new RuntimeException(t);
    }
  }
}
{code}

I see one of our tests fails just doing InetAddress.getLocalHost();

It comes back with:
{code}
java.net.UnknownHostException: asf901.ygridcore.net: asf901.ygridcore.net
	at java.net.InetAddress.getLocalHost(InetAddress.java:1473)
	at org.apache.hadoop.hbase.master.TestClockSkewDetection.testClockSkewDetection(TestClockSkewDetection.java:93)
{code}

Thanks.

Something is wonky in resolve.

> 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