You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nick Dimiduk (Jira)" <ji...@apache.org> on 2021/09/08 23:22:00 UTC

[jira] [Updated] (HBASE-26269) Shell 'load' command behavior has changed

     [ https://issues.apache.org/jira/browse/HBASE-26269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Dimiduk updated HBASE-26269:
---------------------------------
    Summary: Shell 'load' command behavior has changed  (was: Shell no longer supports 'load' command)

> Shell 'load' command behavior has changed
> -----------------------------------------
>
>                 Key: HBASE-26269
>                 URL: https://issues.apache.org/jira/browse/HBASE-26269
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 3.0.0-alpha-2, 2.4.5
>            Reporter: Nick Dimiduk
>            Priority: Major
>
> After upgrade fro 2.3.x to 2.4.x, we noticed that the behavior of the shell's {{load}} command has changed.
> Given a file of commands, i.e.
> {noformat}
> $ echo 'list' > /tmp/file
> {noformat}
> 2.3.x:
> {noformat}
> $ hbase shell
> hbase(main):001:0> load '/tmp/file'
> TABLE                                                                                                                                                                                                       
> TestTable                                                                                                                                                                                                   
> 1 row(s)
> Took 0.3076 seconds                                                                                                                                                                                         
> => true
> hbase(main):002:0>
> {noformat}
> branch-2.4:
> {noformat}
> $ hbase shell
> hbase:001:0> load '/tmp/file'
> Traceback (most recent call last):
> NameError (undefined local variable or method `list' for main:Object)
> {noformat}



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