[
https://issues.apache.org/jira/browse/HBASE-8046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13597684#comment-13597684
]
Ted Yu commented on HBASE-8046:
-------------------------------
It is used in shell scripts:
{code}
$ grep HBaseConfTool bin/*
bin/hbase-daemon.sh: zparent=`$bin/hbase
org.apache.hadoop.hbase.util.HBaseConfTool zookeeper.znode.parent`
bin/hbase-daemon.sh: zshutdown=`$bin/hbase
org.apache.hadoop.hbase.util.HBaseConfTool zookeeper.znode.state`
bin/rolling-restart.sh:distMode=`$bin/hbase
org.apache.hadoop.hbase.util.HBaseConfTool hbase.cluster.distributed | head -n
1`
bin/rolling-restart.sh: zparent=`$bin/hbase
org.apache.hadoop.hbase.util.HBaseConfTool zookeeper.znode.parent`
bin/rolling-restart.sh: zmaster=`$bin/hbase
org.apache.hadoop.hbase.util.HBaseConfTool zookeeper.znode.master`
bin/rolling-restart.sh: zunassigned=`$bin/hbase
org.apache.hadoop.hbase.util.HBaseConfTool zookeeper.znode.unassigned`
bin/rolling-restart.sh: zkrs=`$bin/hbase
org.apache.hadoop.hbase.util.HBaseConfTool zookeeper.znode.rs`
bin/start-hbase.cmd:set distModeCommand=call %HBASE_BIN_PATH%\hbase.cmd
org.apache.hadoop.hbase.util.HBaseConfTool hbase.cluster.distributed
bin/start-hbase.sh:distMode=`$bin/hbase --config "$HBASE_CONF_DIR"
org.apache.hadoop.hbase.util.HBaseConfTool hbase.cluster.distributed | head -n
1`
bin/stop-hbase.cmd:set distModeCommand=call %HBASE_BIN_PATH%\hbase.cmd
org.apache.hadoop.hbase.util.HBaseConfTool hbase.cluster.distributed
bin/stop-hbase.sh:distMode=`$bin/hbase --config "$HBASE_CONF_DIR"
org.apache.hadoop.hbase.util.HBaseConfTool hbase.cluster.distributed | head -n
1`
{code}
> Update or delete HBaseConfTool
> ------------------------------
>
> Key: HBASE-8046
> URL: https://issues.apache.org/jira/browse/HBASE-8046
> Project: HBase
> Issue Type: Improvement
> Components: util
> Reporter: Nick Dimiduk
> Priority: Minor
>
> HBaseConfTool looks like it could be handy for people who don't feel
> comfortable digging into ruby/shell and don't have a configuration manager
> like CM/Ambari.
> If no one uses it, we should just delete it.
> If we want to keep it around, clean it up to use the Tool interface,
> GenericOptionParser, etc; change the interface audience to Public, maybe add
> support for wild-card matching, or at least dumping the entire config;
> document it in the book.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira