Nick Dimiduk created HBASE-26269:
------------------------------------

             Summary: Shell no longer supports 'load' command
                 Key: HBASE-26269
                 URL: https://issues.apache.org/jira/browse/HBASE-26269
             Project: HBase
          Issue Type: Bug
          Components: shell
    Affects Versions: 2.4.5, 3.0.0-alpha-2
            Reporter: Nick Dimiduk


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)

Reply via email to