hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4756) Enable tab-completion in HBase shell
Date Mon, 07 Nov 2011 21:24:51 GMT

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

Ted Yu commented on HBASE-4756:
-------------------------------

With the proposed change (I tried create <tab> with same result):
{code}
hbase(main):001:0> help 
Display all 407 possibilities? (y or n) 
==                              ===                             =~                       
      ARGF
ARGV                            ArgumentError                   Array                    
      ArrayJavaProxy
ArrayJavaProxyCreator           BEGIN                           Bignum                   
      Binding
CROSS_COMPILING                 Class                           Comparable               
      ConcreteJavaProxy
ConcurrencyError                Config                          Continuation             
      Data
Dir                             END                             ENV                      
      ENV_JAVA
{code}

@Ryan:
Can you give some examples ?
                
> Enable tab-completion in HBase shell
> ------------------------------------
>
>                 Key: HBASE-4756
>                 URL: https://issues.apache.org/jira/browse/HBASE-4756
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>            Reporter: Ryan Thiessen
>            Priority: Minor
>
> Tab-completion in the HBase irb shell is nifty for debugging.  Without the +X-O option
it frequently crashes.  Is there any reason not to enable this by default?
> This would be as simple as:
> -  CLASS="org.jruby.Main ${HBASE_HOME}/bin/hirb.rb"
> +  CLASS="org.jruby.Main -X+O ${HBASE_HOME}/bin/hirb.rb"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message