[
https://issues.apache.org/jira/browse/HAMA-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13766299#comment-13766299
]
Hudson commented on HAMA-789:
-----------------------------
SUCCESS: Integrated in Hama-trunk #172 (See
[https://builds.apache.org/job/Hama-trunk/172/])
HAMA-789: BspPeer launched fail because port is bound by others (Suraj Menon
via edwardyoon) (edwardyoon: rev 1522784)
* /hama/trunk/CHANGES.txt
* /hama/trunk/core/src/main/java/org/apache/hama/bsp/BSPPeerImpl.java
* /hama/trunk/core/src/main/java/org/apache/hama/bsp/GroomServer.java
* /hama/trunk/core/src/main/java/org/apache/hama/bsp/LocalBSPRunner.java
*
/hama/trunk/core/src/main/java/org/apache/hama/bsp/message/AbstractMessageManager.java
*
/hama/trunk/core/src/main/java/org/apache/hama/bsp/message/HadoopMessageManagerImpl.java
* /hama/trunk/core/src/main/java/org/apache/hama/bsp/message/MessageManager.java
* /hama/trunk/core/src/main/java/org/apache/hama/ipc/BSPPeerProtocol.java
* /hama/trunk/core/src/main/java/org/apache/hama/util/BSPNetUtils.java
* /hama/trunk/core/src/test/java/org/apache/hama/bsp/TestBSPTaskFaults.java
* /hama/trunk/core/src/test/java/org/apache/hama/bsp/TestCheckpoint.java
* /hama/trunk/core/src/test/java/org/apache/hama/bsp/TestLocalRunner.java
*
/hama/trunk/core/src/test/java/org/apache/hama/bsp/message/TestHadoopMessageManager.java
* /hama/trunk/yarn/src/main/java/org/apache/hama/bsp/BSPApplicationMaster.java
> BspPeer launched fail because port is bound by others
> -----------------------------------------------------
>
> Key: HAMA-789
> URL: https://issues.apache.org/jira/browse/HAMA-789
> Project: Hama
> Issue Type: Bug
> Components: bsp core
> Affects Versions: 0.6.2
> Reporter: MaoYuan Xian
> Assignee: Suraj Menon
> Fix For: 0.6.3
>
> Attachments: HAMA-789.patch, HAMA-789.patch
>
>
> In GroomServer, we call BSPNetUtils.getNextAvailable to assigning the bsppeer
> listening port. After figures out an available port, the GroomServer release
> the port and launches the BspPeer(Child), then the child listens to this port.
> However, during the GroomServer release the port and peer listens the port,
> if other process in the operation system binds to the same port occasionally,
> the bsppeer will fail to start up because of "Address already in use"
> exception.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira