You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sakthi (JIRA)" <ji...@apache.org> on 2019/01/31 01:08:00 UTC
[jira] [Commented] (HBASE-21772) hbase cli help does not mention
'zkcli'
[ https://issues.apache.org/jira/browse/HBASE-21772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756753#comment-16756753 ]
Sakthi commented on HBASE-21772:
--------------------------------
[~busbey], looks like we filter out the display of few of the help options(including zkcli) based on whether or not we are in the omnibus tarball.
{code}
# Detect if we are in the omnibus tarball
in_omnibus_tarball="false"
if [ -f "${HBASE_HOME}/bin/hbase-daemons.sh" ]; then
in_omnibus_tarball="true"
fi
echo "Usage: hbase [<options>] <command> [<args>]"
...
echo "Commands:"
echo "Some commands take arguments. Pass no args or -h for usage."
echo " shell Run the HBase shell"
echo " hbck Run the HBase 'fsck' tool. Defaults read-only hbck1."
...
if [ "${in_omnibus_tarball}" = "true" ]; then
echo " wal Write-ahead-log analyzer"
...
echo " zkcli Run the ZooKeeper shell"
...
echo " clean Run the HBase clean up script"
fi
echo " classpath Dump hbase CLASSPATH"
...
echo " CLASSNAME Run the class named CLASSNAME"
{code}
> hbase cli help does not mention 'zkcli'
> ---------------------------------------
>
> Key: HBASE-21772
> URL: https://issues.apache.org/jira/browse/HBASE-21772
> Project: HBase
> Issue Type: Bug
> Components: Operability, Zookeeper
> Affects Versions: 2.1.0
> Reporter: Sean Busbey
> Assignee: Sakthi
> Priority: Minor
>
> the hbase command's help doesn't mention zkcli
> {code}
> hbase
> Usage: hbase [<options>] <command> [<args>]
> Options:
> --config DIR Configuration direction to use. Default: ./conf
> --hosts HOSTS Override the list in 'regionservers' file
> --auth-as-server Authenticate to ZooKeeper using servers configuration
> --internal-classpath Skip attempting to use client facing jars (WARNING: unstable results between versions)
> Commands:
> Some commands take arguments. Pass no args or -h for usage.
> shell Run the HBase shell
> hbck Run the HBase 'fsck' tool. Defaults read-only hbck1.
> Pass '-j /path/to/HBCK2.jar' to run hbase-2.x HBCK2.
> snapshot Tool for managing snapshots
> classpath Dump hbase CLASSPATH
> mapredcp Dump CLASSPATH entries required by mapreduce
> pe Run PerformanceEvaluation
> ltt Run LoadTestTool
> canary Run the Canary tool
> version Print the version
> regionsplitter Run RegionSplitter tool
> rowcounter Run RowCounter tool
> cellcounter Run CellCounter tool
> pre-upgrade Run Pre-Upgrade validator tool
> CLASSNAME Run the class named CLASSNAME
> {code}
> the command itself still appears to work.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)