On Mon, Nov 16, 2009 at 11:31 AM, Yair Even-Zohar <ya...@audiencescience.com
> wrote:

> Already did, they directed me to hadoop user group :-)
>
>
Haha :)

Sorry to send you back to them, but the stack trace certainly makes it look
like a Katta problem - it's within the katta Client class that it's failing
to connect to another host, and port 20000 as shown isn't used by Hadoop.

Knowing little about Katta, I'd double check that you aren't running any
firewalls and that the two hosts are accessible from each other on port
20000 on those IPs shown in the logs.

Thanks
-Todd


> -----Original Message-----
> From: Todd Lipcon [mailto:t...@cloudera.com]
> Sent: Monday, November 16, 2009 9:02 PM
> To: common-user@hadoop.apache.org
> Subject: Re: client.Client: failed to interact with node......ERROR
>
> Hi Yair,
>
> This looks like a katta-specific problem. Please direct your question to
> the
> katta user list - this is the general Hadoop list.
>
> Thanks
> -Todd
>
> On Mon, Nov 16, 2009 at 7:50 AM, Yair Even-Zohar
> <ya...@audiencescience.com>wrote:
>
> > 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.zkcli...@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
> >
> >
>

Reply via email to