incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-528) java.net.SocketException at getBSPPeerConnection() method
Date Wed, 07 Mar 2012 06:08:00 GMT

    [ https://issues.apache.org/jira/browse/HAMA-528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13224012#comment-13224012
] 

Edward J. Yoon commented on HAMA-528:
-------------------------------------

MEMO: this occurred when submit a job via proxy from remote machine. The problem was  mismatched
file system name. Anyway, this exception should be handled from server-side.
                
> java.net.SocketException at getBSPPeerConnection() method
> ---------------------------------------------------------
>
>                 Key: HAMA-528
>                 URL: https://issues.apache.org/jira/browse/HAMA-528
>             Project: Hama
>          Issue Type: Bug
>            Reporter: Edward J. Yoon
>
> SocketException should be handled.
> {code}
> 12/03/06 11:54:42 INFO metrics.RpcMetrics: Initializing RPC Metrics with hostName=HadoopMessageManagerImpl,
port=61003
> 12/03/06 11:54:43 INFO ipc.Server: IPC Server Responder: starting
> 12/03/06 11:54:43 INFO ipc.Server: IPC Server listener on 61003: starting
> 12/03/06 11:54:43 INFO message.HadoopMessageManagerImpl:  BSPPeer address:ip-10-194-139-115.ec2.internal
port:61003
> 12/03/06 11:54:43 INFO ipc.Server: IPC Server handler 0 on 61003: starting
> 12/03/06 11:54:44 INFO ipc.Client: Retrying connect to server: ip-10-194-139-115.ec2.internal/10.194.139.115:61002.
Already tried 0 time(s).
> 12/03/06 11:54:45 INFO ipc.Client: Retrying connect to server: ip-10-194-139-115.ec2.internal/10.194.139.115:61002.
Already tried 1 time(s).
> 12/03/06 11:54:46 INFO ipc.Client: Retrying connect to server: ip-10-194-139-115.ec2.internal/10.194.139.115:61002.
Already tried 2 time(s).
> 12/03/06 11:54:47 INFO ipc.Client: Retrying connect to server: ip-10-194-139-115.ec2.internal/10.194.139.115:61002.
Already tried 3 time(s).
> 12/03/06 11:54:48 INFO ipc.Client: Retrying connect to server: ip-10-194-139-115.ec2.internal/10.194.139.115:61002.
Already tried 4 time(s).
> 12/03/06 11:54:49 INFO ipc.Client: Retrying connect to server: ip-10-194-139-115.ec2.internal/10.194.139.115:61002.
Already tried 5 time(s).
> 12/03/06 11:54:50 INFO ipc.Client: Retrying connect to server: ip-10-194-139-115.ec2.internal/10.194.139.115:61002.
Already tried 6 time(s).
> 12/03/06 11:54:51 INFO ipc.Client: Retrying connect to server: ip-10-194-139-115.ec2.internal/10.194.139.115:61002.
Already tried 7 time(s).
> 12/03/06 11:54:52 INFO ipc.Client: Retrying connect to server: ip-10-194-139-115.ec2.internal/10.194.139.115:61002.
Already tried 8 time(s).
> 12/03/06 11:54:53 INFO ipc.Client: Retrying connect to server: ip-10-194-139-115.ec2.internal/10.194.139.115:61002.
Already tried 9 time(s).
> 12/03/06 11:54:53 WARN bsp.GroomServer: Error running child
> java.io.IOException: Call to ip-10-194-139-115.ec2.internal/10.194.139.115:61002 failed
on local exception: java.net.SocketException: Connection refused
> 	at org.apache.hadoop.ipc.Client.wrapException(Client.java:775)
> 	at org.apache.hadoop.ipc.Client.call(Client.java:743)
> 	at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220)
> 	at $Proxy1.getProtocolVersion(Unknown Source)
> 	at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359)
> 	at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:346)
> 	at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:383)
> 	at org.apache.hama.bsp.message.HadoopMessageManagerImpl.getBSPPeerConnection(HadoopMessageManagerImpl.java:119)
> 	at org.apache.hama.bsp.message.HadoopMessageManagerImpl.transfer(HadoopMessageManagerImpl.java:130)
> 	at org.apache.hama.bsp.BSPPeerImpl.sync(BSPPeerImpl.java:259)
> 	at org.apache.hama.examples.PiEstimator$MyEstimator.bsp(PiEstimator.java:72)
> 	at org.apache.hama.bsp.BSPTask.runBSP(BSPTask.java:83)
> 	at org.apache.hama.bsp.BSPTask.run(BSPTask.java:66)
> 	at org.apache.hama.bsp.GroomServer$BSPPeerChild.main(GroomServer.java:973)
> Caused by: java.net.SocketException: Connection refused
> 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:423)
> 	at java.net.Socket.connect(Socket.java:546)
> 	at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:402)
> 	at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:304)
> 	at org.apache.hadoop.ipc.Client$Connection.access$1700(Client.java:176)
> 	at org.apache.hadoop.ipc.Client.getConnection(Client.java:860)
> 	at org.apache.hadoop.ipc.Client.call(Client.java:720)
> 	... 12 more
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message