Arvind Kandpal created HBASE-30518:
--------------------------------------

             Summary: [hbtop] Usage text puts -D options after other options, 
which fails
                 Key: HBASE-30518
                 URL: https://issues.apache.org/jira/browse/HBASE-30518
             Project: HBase
          Issue Type: Bug
          Components: documentation, hbtop
            Reporter: Arvind Kandpal


The hbtop usage says:
   usage: hbase hbtop [opts] [-D<property=value>]*

But -D options only work before the other options. Following the usage fails:
   $ hbase hbtop -b -n 1 -Dhbase.client.retries.number=1
    ERROR hbtop.HBTop: Unable to parse options
    UnrecognizedOptionException: Unrecognized option: 
-Dhbase.client.retries.number=1

Also, the help and the hbtop doc page only show a ZooKeeper example 
(-Dhbase.client.zookeeper.quorum). Since 3.0 the default connection registry is 
RpcConnectionRegistry, which does not read this key.




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to