You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (Commented) (JIRA)" <ji...@apache.org> on 2011/11/07 22:24:51 UTC

[jira] [Commented] (HBASE-4756) Enable tab-completion in HBase shell

    [ 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