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

Misspelling commands in hbase shell will crash the shell

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.10
    • 2.5.0, 3.0.0-alpha-3, 2.4.12
    • shell
    • None

    Description

      Misspelling commands in hbase shell will crash the shell, e.g.

      hbase:001:0> hlep
      NameError: undefined local variable or method `hlep' for #<HBaseReceiver:0x1610c03c>
      Did you mean?  help
                        evaluate at (hbase):1
                            eval at org/jruby/RubyKernel.java:1048
                        evaluate at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/workspace.rb:85
                        evaluate at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/context.rb:380
                      eval_input at uri:classloader:/irb/hirb.rb:112
                   signal_status at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb.rb:623
                      eval_input at uri:classloader:/irb/hirb.rb:109
        each_top_level_statement at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/ruby-lex.rb:246
                            loop at org/jruby/RubyKernel.java:1442
        each_top_level_statement at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/ruby-lex.rb:232
                           catch at org/jruby/RubyKernel.java:1189
        each_top_level_statement at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/ruby-lex.rb:231
                      eval_input at uri:classloader:/irb/hirb.rb:108
                             run at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb.rb:428
                           catch at org/jruby/RubyKernel.java:1189
                             run at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb.rb:427
                          <main> at classpath:/jar-bootstrap.rb:221
      

      Attachments

        Issue Links

          Activity

            People

              psomogyi Peter Somogyi
              ekrettek Evan Krettek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: