Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1321

Add number of client connections metric in JMX and srvr

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.4, 3.4.2
    • Fix Version/s: 3.4.4, 3.5.0
    • Component/s: None
    • Labels:

      Description

      The related conversation on the zookeeper user mailing list is here - http://apache.markmail.org/message/4jjcmooniowwugu2?q=+list:org.apache.hadoop.zookeeper-user

      It is useful to be able to monitor the number of disconnect operations on a client. This is generally indicative of a client going through large number of GC and hence disconnecting way too often from a zookeeper cluster.

      Today, this information is only indirectly exposed as part of the stat command which requires counting the results. That's alot of work for the server to do just to get connection count.

      For monitoring purposes, it will be useful to have this exposed through JMX and 4lw srvr.

        Attachments

        1. ZK-1321-nowhitespace.patch
          11 kB
          Henry Robinson
        2. zk-1321-trunk.patch
          32 kB
          Henry Robinson
        3. zk-1321.patch
          32 kB
          Henry Robinson
        4. zk-1321-cleanup
          11 kB
          Camille Fournier
        5. zookeeper-1321-trunk-v2.patch
          11 kB
          Neha Narkhede
        6. ZOOKEEPER-1321_trunk.patch
          11 kB
          Neha Narkhede
        7. ZOOKEEPER-1321_3.4.patch
          10 kB
          Neha Narkhede
        8. ZOOKEEPER-1321_trunk.patch
          11 kB
          Neha Narkhede

          Activity

            People

            • Assignee:
              nehanarkhede Neha Narkhede
              Reporter:
              nehanarkhede Neha Narkhede
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: