hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-776) localQueue is set as Send queue in init function of AbstractMessageManager
Date Sat, 13 Jul 2013 23:07:48 GMT

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

Hudson commented on HAMA-776:
-----------------------------

SUCCESS: Integrated in Hama-Nightly-for-Hadoop-1.x #972 (See [https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/972/])
HAMA-776: localQueue is set as Send queue in init function of AbstractMessageManager (kennethxian:
rev 1502739)
* /hama/trunk/CHANGES.txt
* /hama/trunk/core/src/main/java/org/apache/hama/bsp/message/AbstractMessageManager.java

                
> localQueue is set as Send queue in init function of AbstractMessageManager
> --------------------------------------------------------------------------
>
>                 Key: HAMA-776
>                 URL: https://issues.apache.org/jira/browse/HAMA-776
>             Project: Hama
>          Issue Type: Bug
>          Components: bsp core
>    Affects Versions: 0.6.2
>            Reporter: MaoYuan Xian
>            Assignee: MaoYuan Xian
>             Fix For: 0.6.3
>
>         Attachments: HAMA-776.patch
>
>
> In init method of AbstractMessageManager, the following codes found:
> {code}
>   public void init(TaskAttemptID attemptId, BSPPeer<?, ?, ?, ?, M> peer,
>       Configuration conf, InetSocketAddress peerAddress) {
>     ...
>     this.peerAddress = peerAddress;
>     this.localQueue = getSenderQueue();
>     this.localQueueForNextIteration = getSynchronizedReceiverQueue();
>     this.maxCachedConnections = conf.getInt(MAX_CACHED_CONNECTIONS_KEY, 100);
>   }
> {code}
> The localQueue should be a receiveQueue but it is assigned here, should it be changed
as following?:
> {code}
>  this.localQueue = getSynchronizedReceiverQueue();
> {code}
> Is there any special purpose here when set it as senderQueue?

--
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

Mime
View raw message