You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by rakeshadr <gi...@git.apache.org> on 2018/04/16 17:39:52 UTC

[GitHub] zookeeper pull request #466: ZOOKEEPER-2940. Deal with maxbuffer as it relat...

Github user rakeshadr commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/466#discussion_r181824379
  
    --- Diff: src/java/main/org/apache/zookeeper/server/admin/Commands.java ---
    @@ -329,12 +329,20 @@ public CommandResponse run(ZooKeeperServer zkServer, Map<String, String> kwargs)
                 response.put("open_file_descriptor_count", osMbean.getOpenFileDescriptorCount());
                 response.put("max_file_descriptor_count", osMbean.getMaxFileDescriptorCount());
     
    +            response.put("last_client_response_size", stats.getClientResponseStats().getLast());
    --- End diff --
    
    Please update zookeeperAdmin.xml about these commands. Please refer monitoring the health of the cluster section in this page.



---