FAQ
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

Search Discussions

  • Yair Even-Zohar at Nov 16, 2009 at 3:50 pm
    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
  • Mikio Uzawa at Nov 16, 2009 at 3:57 pm
    Hi all,

    You can go to the full edition of English repot through a below summary.
    http://jclouds.wordpress.com/2009/11/16/overview-of-hadoop-conference-2009-i
    n-japan-english-edition/

    Please enjoy, the Hadoop Conference in Japan.

    /mikio
  • 김영우 at Nov 17, 2009 at 2:10 am
    Hi Mikio,

    Thanks for the wrap up.
    Can I download presentation files? I'm looking into the Conference website,
    but I'm not good at Japanese. :-)

    Regards,
    Youngwoo

    2009/11/17 Mikio Uzawa <m_uzawa@amber.plala.or.jp>
    Hi all,

    You can go to the full edition of English repot through a below summary.

    http://jclouds.wordpress.com/2009/11/16/overview-of-hadoop-conference-2009-i
    n-japan-english-edition/<http://jclouds.wordpress.com/2009/11/16/overview-of-hadoop-conference-2009-i%0An-japan-english-edition/>

    Please enjoy, the Hadoop Conference in Japan.

    /mikio

  • Todd Lipcon at Nov 16, 2009 at 7:02 pm
    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
    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.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
  • Yair Even-Zohar at Nov 16, 2009 at 7:31 pm
    Already did, they directed me to hadoop user group :-)

    -----Original Message-----
    From: Todd Lipcon
    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
    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.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
  • Todd Lipcon at Nov 16, 2009 at 9:36 pm

    On Mon, Nov 16, 2009 at 11:31 AM, Yair Even-Zohar 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
    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
    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.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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedNov 16, '09 at 2:22p
activeNov 17, '09 at 2:10a
posts7
users4
websitehadoop.apache.org...
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase