AnsweredAssumed Answered

mapr connectivity

Question asked by nairajay on Oct 12, 2016
Latest reply on Nov 11, 2016 by maprcommunity

Hi ,

 

I am able to connect to the mapr server from my client and run commands like hadoop fs -ls /.

 

However when I get an exception while connecting to port 7222 through my java app. I am able to telnet to this port. Pl help..

 

2016-10-12 12:46:31,428 [sendParams-0] DEBUG [hadoop.ipc.Client]  - IPC Client (47) connection to /10.x.x.x:7222 from root sending #0
2016-10-12 12:46:31,493 [IPC Client (47) connection to /10.x.x.x:7222 from root] DEBUG [hadoop.ipc.Client]  - closing ipc connection to /10.x.x.x:7222: failed to read rpc response java.io.IOException: Connection reset by peer
java.net.SocketException: failed to read rpc response java.io.IOException: Connection reset by peer
    at org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:843)
    at org.apache.hadoop.ipc.Client$Connection.run(Client.java:725)
Caused by: java.io.IOException: Connection reset by peer
    at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:197)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379)
    at org.apache.hadoop.net.SocketInputStream$Reader.performIO(SocketInputStream.java:55)
    at org.apache.hadoop.net.SocketIOWithTimeout.doIO(SocketIOWithTimeout.java:142)
    at org.apache.hadoop.net.SocketInputStream.read(SocketInputStream.java:155)
    at org.apache.hadoop.net.SocketInputStream.read(SocketInputStream.java:128)
    at java.io.FilterInputStream.read(FilterInputStream.java:133)
    at java.io.FilterInputStream.read(FilterInputStream.java:133)
    at org.apache.hadoop.ipc.Client$Connection$PingInputStream.read(Client.java:377)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
    at java.io.DataInputStream.readInt(DataInputStream.java:387)
    at org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:819)
    ... 1 more

 

 

Thanks in advance

Ajay

Outcomes