[
https://issues.apache.org/jira/browse/STORM-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15152270#comment-15152270
]
ASF GitHub Bot commented on STORM-1556:
---------------------------------------
GitHub user wuchong opened a pull request:
https://github.com/apache/storm/pull/1121
[STORM-1556]nimbus.clj/wait-for-desired-code-replication wrong reset for
current-replication-count-jar in local mode
We do not go to count the number of jar-replication in local mode, but will
count the number of conf-replication.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wuchong/storm STORM-1556
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/1121.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1121
----
commit 8ef9ddd2696ec8a9474e8a0e0d600cd925804ca2
Author: wuchong <[email protected]>
Date: 2016-02-18T12:47:19Z
nimbus.clj/wait-for-desired-code-replication wrong reset for
current-replication-count-jar in local mode
----
> nimbus.clj/wait-for-desired-code-replication wrong reset for
> current-replication-count-jar in local mode
> --------------------------------------------------------------------------------------------------------
>
> Key: STORM-1556
> URL: https://issues.apache.org/jira/browse/STORM-1556
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-core
> Affects Versions: 1.0.0, 2.0.0
> Reporter: Jark Wu
> Assignee: Jark Wu
> Fix For: 1.0.0, 2.0.0
>
>
> https://github.com/apache/storm/blob/master/storm-core/src/clj/org/apache/storm/daemon/nimbus.clj#L520-L521
> {code}
> (if (not (ConfigUtils/isLocalMode conf))
> (reset! current-replication-count-conf (get-blob-replication-count
> (ConfigUtils/masterStormConfKey storm-id) nimbus)))
> (reset! current-replication-count-code (get-blob-replication-count
> (ConfigUtils/masterStormCodeKey storm-id) nimbus))
> (reset! current-replication-count-jar (get-blob-replication-count
> (ConfigUtils/masterStormJarKey storm-id) nimbus))))
> {code}
> We do not go to count the number of jar-replication in local mode, but will
> count the number of conf-replication. So is it a mistake that
> current-replication-count-conf and current-replication-count-jar in the wrong
> place?
> If it is a bug, I will create a PR soon.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)