[
https://issues.apache.org/jira/browse/HAMA-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145181#comment-13145181
]
Edward J. Yoon commented on HAMA-461:
-------------------------------------
Awesome.
BTW, I received below errors.
{code}
java.lang.NullPointerException
at
org.apache.hadoop.net.NetUtils.getDefaultSocketFactory(NetUtils.java:89)
at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:383)
at
org.apache.hama.bsp.message.HadoopMessageManagerImpl.getBSPPeerConnection(HadoopMessageManagerImpl.java:133)
at
org.apache.hama.bsp.message.HadoopMessageManagerImpl.transfer(HadoopMessageManagerImpl.java:145)
at org.apache.hama.bsp.BSPPeerImpl.sync(BSPPeerImpl.java:244)
at
org.apache.hama.examples.PiEstimator$MyEstimator.bsp(PiEstimator.java:72)
at org.apache.hama.bsp.BSPTask.runBSP(BSPTask.java:88)
at org.apache.hama.bsp.BSPTask.run(BSPTask.java:66)
at
org.apache.hama.bsp.GroomServer$BSPPeerChild.main(GroomServer.java:907)
11/11/07 10:26:47 INFO zookeeper.ZooKeeper: Session: 0x1337ba1e64d001d closed
{code}
> Extract a Message Service from BSPPeer
> --------------------------------------
>
> Key: HAMA-461
> URL: https://issues.apache.org/jira/browse/HAMA-461
> Project: Hama
> Issue Type: Improvement
> Affects Versions: 0.3.0
> Reporter: Thomas Jungblut
> Assignee: Thomas Jungblut
> Fix For: 0.4.0
>
> Attachments: HAMA-461_v1.patch
>
>
> There's a problem, that we have more synchronized Collections than we need.
> localQueueForNextIteration (or similar name) is the only one which needs to
> be thread safe. At least only the put method could be synchronized, because
> reads does not need to be threadsafe.
> So we should refactor our messaging system from the peer itself.
> A hint in architecture could give us HAMA-457.
> We have to add a factory which let's the user choice their protocol.
--
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