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

Elliot Miller commented on HBASE-9756:
--------------------------------------

A different patch (HBASE-20270) was merged in 2018 to address this issue. 
*HBASE-20270 removes the command help regardless of what error occurs* and 
instead suggests that a user can get more information with {{help "command"}}. 
I think the change in HBASE-20270 is more beneficial than this patch since the 
help text for individual commands like "alter" (~75 lines) and "scan" (~87 
lines) is long enough to push the relevant error off the screen, which can be 
confusing to the user/operator.

I'm going to close this for now.

> HBase shell help info would be better to display only when usage error 
> instead of any exception
> -----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-9756
>                 URL: https://issues.apache.org/jira/browse/HBASE-9756
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>            Reporter: Yang Wang
>            Priority: Minor
>         Attachments: HBASE-9756.patch
>
>
> When error occurred in HBase shell, no matter what error it is, the help info 
> will display. As help info is used to instruct how to use the command, so it 
> would be better to show help info only when the command is used in a wrong 
> way.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to