[ https://issues.apache.org/jira/browse/ZOOKEEPER-2479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15398902#comment-15398902 ]
Rakesh R commented on ZOOKEEPER-2479: ------------------------------------- It looks like the bean registration is hitting below exception during {{QuorumMajorityTest#setUp(false);}}, so I've moved the jmx bean attribute verification before this. {code} [exec] [junit] 2016-07-28 05:53:10,808 [myid:] - WARN [QuorumPeer[myid=3](plain=/127.0.0.1:13943)(secure=disabled):QuorumPeer@1029] - Failed to register with JMX [exec] [junit] javax.management.InstanceAlreadyExistsException: org.apache.ZooKeeperService:name0=ReplicatedServer_id3 {code} > Add 'fleTimeTaken' value in LeaderMXBean and FollowerMXBean > ----------------------------------------------------------- > > Key: ZOOKEEPER-2479 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2479 > Project: ZooKeeper > Issue Type: Improvement > Components: quorum > Reporter: Rakesh R > Assignee: Rakesh R > Fix For: 3.4.9, 3.5.3, 3.6.0 > > Attachments: ZOOKEEPER-2479.patch, ZOOKEEPER-2479.patch, > ZOOKEEPER-2479.patch > > > The idea of this jira is to expose {{time taken}} for the leader election via > jmx Leader, Follower beans. -- This message was sent by Atlassian JIRA (v6.3.4#6332)