You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Yair Even-Zohar <ya...@audiencescience.com> on 2009/11/16 15:22:27 UTC

client.Client: failed to interact with node......ERROR

I'm running a 2 nodes cluster using hadoop and katta. Master on
qa-hadoop004 and slave on qa-hadoop005

 

When I'm running a search as root from a remote machine, all works well.

When I'm running the same given search as root from the same remote
machine using tomcat I'm getting the error below:

 

09/11/16 03:52:21 INFO zookeeper.ZooKeeper: Initiating client
connection, host=qa-hadoop004.ascitest.net:2888:3888

 sessionTimeout=150000 watcher=net.sf.katta.zk.ZKClient@16a6a7d2

09/11/16 03:52:21 INFO zookeeper.ClientCnxn: Attempting connection to
server qa-hadoop004.ascitest.net/10.12.2.204

:2888

09/11/16 03:52:21 INFO zookeeper.ClientCnxn: Priming connection to
java.nio.channels.SocketChannel[connected local

=/10.12.2.46:35500 remote=qa-hadoop004.ascitest.net/10.12.2.204:2888]

09/11/16 03:52:21 INFO zookeeper.ClientCnxn: Server connection
successful

09/11/16 03:52:22 WARN client.Client: failed to interact with node
qa-hadoop005.ascitest.net:20000. Try with other

 node(s) [qa-hadoop005.ascitest.net:20000].

java.io.IOException: Call to qa-hadoop005.ascitest.net/10.12.2.205:20000
failed on local exception: java.io.EOFExc

eption

        at org.apache.hadoop.ipc.Client.wrapException(Client.java:774)

        at org.apache.hadoop.ipc.Client.call(Client.java:742)

        at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220)

        at $Proxy2.getDocFreqs(Unknown Source)

        at
net.sf.katta.client.Client$GetDocumentFrequencyInteraction.doInteraction
(Client.java:455)

        at
net.sf.katta.client.Client$NodeInteraction.interact(Client.java:572)

        at
net.sf.katta.client.Client$NodeInteraction.run(Client.java:555)

        at java.lang.Thread.run(Thread.java:619)

Caused by: java.io.EOFException

        at java.io.DataInputStream.readInt(DataInputStream.java:375)

        at
org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:501)

        at org.apache.hadoop.ipc.Client$Connection.run(Client.java:446)

 

 

 

I'm pretty certain I pass the correct properties because the client
tries to contact the correct machines so something else is causing this
error and I have no clue what it is.

 

Thanks

-Yair