karthick-rn opened a new issue #1645:
URL: https://github.com/apache/accumulo/issues/1645


   I configured TLS on ZK and found the Accumulo Monitor was not displaying ZK 
stats as shown in the below pic
   
   
![image](https://user-images.githubusercontent.com/7976585/86039867-00f34080-ba3b-11ea-8044-8a6382698f25.png)
   
   Accumulo Monitor currently uses the ZK 4LW `stat` to display `MODE` & 
`CLIENTS` on the UI. 
   Based on the 
[link](https://zookeeper.apache.org/doc/r3.6.1/zookeeperAdmin.html#sc_zkCommands),
 the 4LW will be deprecated & are disabled by default(since ZK 3.5.5). Also, 
4LW doesn't seem to work with secure client port.
   
   ## Solutions:
   1. Document to whitelist the 4LW in `zoo.cfg` using `4lw.commands.whitelist` 
but that will only work with un-secure client port. 
   2. Make the Accumulo Monitor use 
[Adminserver](https://zookeeper.apache.org/doc/r3.6.1/zookeeperAdmin.html#sc_adminserver)
 as suggested by ZK community. Using Adminserver requires a code change. 
Supporting TLS with Adminserver will likely require additional code changes in 
Accumulo.
   3. Remove ZK monitoring from Accumulo Monitor page and let users consult 
Adminservers directly for the metrics.
   
   I & @keith-turner discussed and we came up with the above solutions and 
think option 2 or 3 will be the best way forward, would like to get others 
thoughts as well on this?
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to