hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HAMA-855) Handling Address binding exceptions
Date Mon, 07 Apr 2014 07:30:16 GMT

     [ https://issues.apache.org/jira/browse/HAMA-855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Edward J. Yoon resolved HAMA-855.
---------------------------------

    Resolution: Fixed

Thank Kang, two minor things:

 * Instead of Exception, I used BindException.
 * Please use the Hama code formatters.

I just committed this!

> Handling Address binding exceptions
> -----------------------------------
>
>                 Key: HAMA-855
>                 URL: https://issues.apache.org/jira/browse/HAMA-855
>             Project: Hama
>          Issue Type: Bug
>          Components: bsp core
>    Affects Versions: 0.6.3
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.7.0
>
>         Attachments: hama-855-01-patch.txt
>
>
> Often, build fails with Address binding exceptions. We can add some re-attempt mechanism
to avoid this situations.
> https://builds.apache.org/job/Hama-trunk/245/testReport/org.apache.hama.bsp/TestBSPMasterGroomServer/testSubmitJob/
> {code}
> 14/01/21 01:15:23 ERROR bsp.GroomServer: Got fatal exception while reinitializing GroomServer:
java.net.BindException: Problem binding to vesta.apache.org/67.195.138.9:53307 : Address already
in use
> 	at org.apache.hama.ipc.Server.bind(Server.java:250)
> 	at org.apache.hama.ipc.Server$Listener.<init>(Server.java:316)
> 	at org.apache.hama.ipc.Server.<init>(Server.java:1313)
> 	at org.apache.hama.ipc.RPC$Server.<init>(RPC.java:595)
> 	at org.apache.hama.ipc.RPC.getServer(RPC.java:551)
> 	at org.apache.hama.ipc.RPC.getServer(RPC.java:538)
> 	at org.apache.hama.ipc.RPC.getServer(RPC.java:528)
> 	at org.apache.hama.bsp.GroomServer.initialize(GroomServer.java:326)
> 	at org.apache.hama.bsp.GroomServer.run(GroomServer.java:832)
> 	at java.lang.Thread.run(Thread.java:662)
> Caused by: java.net.BindException: Address already in use
> 	at sun.nio.ch.Net.bind(Native Method)
> 	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
> 	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
> 	at org.apache.hama.ipc.Server.bind(Server.java:248)
> 	... 9 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message