[
https://issues.apache.org/jira/browse/ZOOKEEPER-1659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14015197#comment-14015197
]
Rakesh R commented on ZOOKEEPER-1659:
-------------------------------------
{quote}ffor remote bean:
CommonNames.DOMAIN + ":name0=ReplicatedServer_id" + nextIndex +
",name1=replica." + changingIndex;
for local bean: CommonNames.DOMAIN + ":name0=ReplicatedServer_id" +
leavingIndex + ",name1=replica." + leavingIndex;{quote}
Assume am having servers zk-1, zk-2, zk-3.
For example, am checking the beans of zk-2 it has the following beans:
1) localbean: name0=ReplicatedServer_id2,name1=replica.2
2) remote bean of zk-1: name0=ReplicatedServer_id2,name1=replica.1
3) remote bean of zk-3: name0=ReplicatedServer_id2,name1=replica.3
{quote}
the text here: https://zookeeper.apache.org/doc/r3.3.2/zookeeperJMX.html
indicates that the indices for replica.x and ReplicatedServer_id.x are the same
(myid of the server). Can you explain why in the case of remote bean the
indices are different ? should the documentation change ?
{quote}
I think no issues in docs.
bq.also, did you have a chance to try it with a jmx console ?
Attached snap of the jmx console. Also I tried adding few hints, please forgive
if its confusing.
> Add JMX support for dynamic reconfiguration
> -------------------------------------------
>
> Key: ZOOKEEPER-1659
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1659
> Project: ZooKeeper
> Issue Type: Bug
> Components: server
> Affects Versions: 3.5.0
> Reporter: Alexander Shraer
> Assignee: Rakesh R
> Priority: Blocker
> Fix For: 3.5.0
>
> Attachments: ZK-1659-jmx console-after-remove-qp-reconfig.png,
> ZK-1659-jmx console-before-reconfig.png, ZOOKEEPER-1659.patch,
> ZOOKEEPER-1659.patch, ZOOKEEPER-1659.patch, ZOOKEEPER-1659.patch,
> ZOOKEEPER-1659.patch
>
>
> We need to update JMX during reconfigurations. Currently, reconfiguration
> changes are not reflected in JConsole.
--
This message was sent by Atlassian JIRA
(v6.2#6252)