Hi, >>>>>>> In the ZK node where I don't see the normal ZK MBeans I see this: >>>>>>> org.apache.ZooKeeperService:name0=ReplicatedServer_id2,name1=replica.2,name2=*Leader* This bean will be available only after completion of the leader election phase. It could be either Leader or Follower bean, that depends on the ZK server's final state. >>>>>>> Represents a ZooKeeper cluster *leader election which is in progress*. Yes, LeaderElection bean shows the quorum is not yet stable and is in the phase of formation. >>>>>>> Is it possible that while *leader election* is happening ZK doesn't show all the usual ZK MBeans? Yes, during LE phase other beans are not available. The possible reason I could see is, bean name itself representing the state of the entity. If think it is meaningless if we expose all these beans together during LE, isn't it ? -Rakesh -----Original Message----- From: Otis Gospodnetic [mailto:otis.gospodnetic@gmail.com] Sent: 22 October 2014 23:05 To: user@zookeeper.apache.org Subject: Re: Missing MBeans in JMX Hi, In the ZK node where I don't see the normal ZK MBeans I see this: org.apache.ZooKeeperService:name0=ReplicatedServer_id1, name1=replica.1,name2=*LeaderElection* In another ZK node where I DO see ZK MBeans I see something different: org.apache.ZooKeeperService:name0=ReplicatedServer_id2,name1=replica.2,name2= *Leader* The presence of *LeaderElection* seems to be about: Represents a ZooKeeper cluster *leader election which is in progress*. Provides information about the election, such as when it started Is it possible that while *leader election* is happening ZK doesn't show all the usual ZK MBeans? Thanks, Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr & Elasticsearch Support * http://sematext.com/ On Tue, Oct 21, 2014 at 5:18 PM, Otis Gospodnetic < otis.gospodnetic@gmail.com> wrote: > Hi, > > From: Biju N >> > > >> Hi Otis, >> Are you able to connect to ZK through "jconsole" or something >> similar to see whether you are able to see data? >> > > > I am able to connect to JMX with Jconsole, but I don't see ZK-specific > MBeans in there. > For example, when I'm trying to collects stats via JMX I get errors like: > > javax.management.AttributeNotFoundException: No such attribute: > PendingRevalidationCount > javax.management.AttributeNotFoundException: No such attribute: > AvgRequestLatency > javax.management.AttributeNotFoundException: No such attribute: > MaxRequestLatency > javax.management.AttributeNotFoundException: No such attribute: > MinRequestLatency > javax.management.AttributeNotFoundException: No such attribute: > NumAliveConnections > javax.management.AttributeNotFoundException: No such attribute: > MaxClientCnxnsPerHost > javax.management.AttributeNotFoundException: No such attribute: > OutstandingRequests > javax.management.AttributeNotFoundException: No such attribute: > PacketsReceived > javax.management.AttributeNotFoundException: No such attribute: PacketsSent > > And these MBeans just don't seem to be there at all. > This is ZK 3.4.6. The above MBeans are present in some older ZK versions > I have running. I checked the release notes and didn't see any mentions of > big changes that would signal that all these MBeans have been removed.... > > I'm sending a JConsole screenshot and hope the ML will not remove it. If > it removes it, I'll post it somewhere. It doesn't show any of the above > MBeans. > > Any help would be greatly appreciated. > > Thanks, > Otis > -- > Monitoring * Alerting * Anomaly Detection * Centralized Log Management > Solr & Elasticsearch Support * http://sematext.com/ >