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

Hudson commented on HBASE-28660:
--------------------------------

Results for branch branch-2
        [build #13 on 
builds.a.o|https://ci-hbase.apache.org/job/HBase-Backwards-Compatibility-Test/job/branch-2/13/]:
 (x) *{color:red}-1 overall{color}*
----
Backwards compatibility checks:
(/) {color:green}+1 jdk17 hadoop 3.3.5 backward compatibility checks{color}
-- For more information [see jdk17 
report|https://ci-hbase.apache.org/job/HBase-Backwards-Compatibility-Test/job/branch-2/13/console]


(/) {color:green}+1 jdk17 hadoop 3.3.6 backward compatibility checks{color}
-- For more information [see jdk17 
report|https://ci-hbase.apache.org/job/HBase-Backwards-Compatibility-Test/job/branch-2/13/console]


(x) {color:red}-1 jdk17 hadoop 3.4.0 backward compatibility checks{color}
-- For more information [see jdk17 
report|https://ci-hbase.apache.org/job/HBase-Backwards-Compatibility-Test/job/branch-2/13/console]


(/) {color:green}+1 jdk17 hadoop 3.4.1 backward compatibility checks{color}
-- For more information [see jdk17 
report|https://ci-hbase.apache.org/job/HBase-Backwards-Compatibility-Test/job/branch-2/13/console]


(/) {color:green}+1 jdk17 hadoop 3.4.2 backward compatibility checks{color}
-- For more information [see jdk17 
report|https://ci-hbase.apache.org/job/HBase-Backwards-Compatibility-Test/job/branch-2/13/console]


> list_namespace not working after an incorrect user input
> --------------------------------------------------------
>
>                 Key: HBASE-28660
>                 URL: https://issues.apache.org/jira/browse/HBASE-28660
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 2.6.0, 3.0.0-beta-2
>            Reporter: Ke Han
>            Assignee: Arvind Kandpal
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.7.0, 3.0.0-beta-2, 2.5.15, 2.6.6
>
>
> When using hbase-3.0.0 or 2.6.0, there's a shell bug related to failure 
> handling.
> If user inputs an incorrect *list_namespace* command, hshell throws an 
> exception. However, it has a side effect on the following *list_namespace* 
> command: the result becomes empty (incorrect).
> h1. Reproduce
> Execute the following 2 commands can reproduce this bug
>  * The first command is an incorrect list_namespace command, which causes and 
> exception.
>  * The second command is a correct list_namespace command, its return value 
> is incorrect (empty).
> {code:java}
> list_namespace, 'ns.*'
> list_namespace{code}
> Here's the execution result
> The return result of the second command is incorrect.
> {code:java}
> hbase:002:0> list_namespace, 'ns.*'
> Traceback (most recent call last):
> SyntaxError ((hbase):2: syntax error, unexpected end-of-file)
> list_namespace, 'ns.*'
>                       ^
> hbase:003:0> list_namespace
> hbase:004:0>  {code}
> The expected output of list_namespace is
> {code:java}
> hbase:001:0> list_namespace
> NAMESPACE                                                                     
>                                                         
> default                                                                       
>                                                         
> hbase                                                                         
>                                                         
> 2 row(s)
> Took 0.6820 seconds {code}
> h1. Root Cause
> This could be a bug in shell related to list_namespace. Restarting the shell 
> restores normal functionality of the list_namespace command.
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to