[ 
https://issues.apache.org/jira/browse/HBASE-1329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717378#action_12717378
 ] 

Nitay Joffe commented on HBASE-1329:
------------------------------------

Good idea Lars. Folks please post suggestions for what you would like to have.

Some of my initial thoughts (from above and other chats):

- Add a 'zk' command to the shell. Put all of the ZooKeeper shell commands as 
sub commands as this. Specifically here are the current ZooKeeper shell 
commands:

{code}commandMap.put("create", "path data acl");
        commandMap.put("delete"," path [version]");
        commandMap.put("set"," path data [version]");
        commandMap.put("get"," path [watch]");
        commandMap.put("ls"," path [watch]");
        commandMap.put("getAcl"," path");
        commandMap.put("setAcl"," path acl");
        commandMap.put("stat"," path [watch]");
        commandMap.put("sync"," path");
        commandMap.put("setquota"," -n|-b val path");
        commandMap.put("listquota"," path");
        commandMap.put("delquota"," [-n|-b] path");
        commandMap.put("history","");
        commandMap.put("redo"," cmdno");
        commandMap.put("printwatches", " on|off");
        commandMap.put("quit","");
        commandMap.put("addauth", " scheme auth");
{code}

- Add higher level commands to 'zk', like get/set master addres, get/set root 
region server address.

- Add a ZK tree viewer to UI, something like ZOOKEEPER-418.

> Visibility into ZooKeeper
> -------------------------
>
>                 Key: HBASE-1329
>                 URL: https://issues.apache.org/jira/browse/HBASE-1329
>             Project: Hadoop HBase
>          Issue Type: New Feature
>    Affects Versions: 0.20.0
>            Reporter: Nitay Joffe
>            Assignee: Nitay Joffe
>            Priority: Blocker
>             Fix For: 0.20.0
>
>
> Currently, to the users of HBase ZooKeeper is some mysterious thing that is 
> for some reason important but no one knows why. We need to provide more 
> visibility into ZooKeeper from HBase.
> This issue is to start a discussion on what sorts of things we can/should 
> provide. Some possible ideas to get started:
> - Running a REST server. See ZOOKEEPER-36.
> - FUSE support. See ZOOKEEPER-25.
> - Admin/surgery tools in HBase shell. Answer questions like "in safe mode?"
> - Status and information on HBase's data in ZooKeeper in the web UI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to