Hi all

Trying to debug some minicluster based testcases on master and branch-2
with eclipse IDE. But the cluster startup seems to hang in the HttpServer
start up as part of HDFS cluster setup.

The older 3.0 branches were not having this issue and seems to happen in
the later 2.0 and master  branches.

Is there anyway to solve this - wrt to POM changes or anyother config
updates?

The same tests run fine when we run using 'mvn test' command.

"Time-limited test" #17 daemon prio=5 os_prio=0 tid=0x00007fc6c4f6b000
nid=0xb91 runnable [0x00007fc6565c4000]
   java.lang.Thread.State: RUNNABLE
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
        - locked <0x000000058857eeb0> (a java.net.SocksSocketImpl)
        at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at java.net.Socket.connect(Socket.java:538)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
        - locked <0x000000058857ec70> (a sun.net.www.http.HttpClient)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
        at sun.net.www.http.HttpClient.New(HttpClient.java:308)
        at sun.net.www.http.HttpClient.New(HttpClient.java:326)
        at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1168)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:932)
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)
        - locked <0x000000058857d600> (a
sun.net.www.protocol.http.HttpURLConnection)
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)


After some time the test case fails with 'Exception' msg.

There is no firewall and so firewall is not the reason for this.
I tracked the pom changes but not able to make out any obvious differences
here.
Any inputs here would be very helpful.

Regards
Ram

Reply via email to