Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-26269

Shell 'load' command behavior has changed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha-2, 2.4.5
    • None
    • shell
    • None

    Description

      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.

      $ echo 'list' > /tmp/file
      

      2.3.x:

      $ hbase shell
      hbase(main):001:0> load '/tmp/file'
      TABLE                                                                                                                                                                                                       
      TestTable                                                                                                                                                                                                   
      1 row(s)
      Took 0.3076 seconds                                                                                                                                                                                         
      => true
      hbase(main):002:0>
      

      branch-2.4:

      $ hbase shell
      hbase:001:0> load '/tmp/file'
      
      Traceback (most recent call last):
      NameError (undefined local variable or method `list' for main:Object)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ndimiduk Nick Dimiduk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: