hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nspiegelb...@apache.org
Subject svn commit: r1202997 - /hbase/branches/0.89-fb/bin/hbase
Date Thu, 17 Nov 2011 01:47:44 GMT
Author: nspiegelberg
Date: Thu Nov 17 01:47:44 2011
New Revision: 1202997

URL: http://svn.apache.org/viewvc?rev=1202997&view=rev
Log:
enable tab-completion on hbase shell

Summary:
Tab completion is helpful for debugging scripts.  I am not 100% sure what this
option actually does, but without it tab-completion frequently crashes and
requests this option to be present.  Error/crash message:
https://our.intern.facebook.com/intern/paste/?pid=41846

If there is a reason we shouldn't do this, I won't be offended.  But I find it
quite useful.

Test Plan:
could pipe in commands and invoke shell as usual, and tab-completion now works.

https://our.intern.facebook.com/intern/paste/?pid=41848

Reviewers: kannan, kranganathan, dhruba, jgray, nspiegelberg

Reviewed By: nspiegelberg

CC: hbase-eng@lists, hbase-ops@lists, nspiegelberg, rthiessen, dhruba

Differential Revision: 356985

Modified:
    hbase/branches/0.89-fb/bin/hbase

Modified: hbase/branches/0.89-fb/bin/hbase
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/bin/hbase?rev=1202997&r1=1202996&r2=1202997&view=diff
==============================================================================
--- hbase/branches/0.89-fb/bin/hbase (original)
+++ hbase/branches/0.89-fb/bin/hbase Thu Nov 17 01:47:44 2011
@@ -219,7 +219,7 @@ unset IFS
 
 # figure out which class to run
 if [ "$COMMAND" = "shell" ] ; then
-  CLASS="org.jruby.Main ${HBASE_HOME}/bin/hirb.rb"
+  CLASS="org.jruby.Main -X+O ${HBASE_HOME}/bin/hirb.rb"
 elif $in_sources_dir && [ "$COMMAND" = "shell-tests" ] ; then
   # Finx maven build classpath
   add_maven_deps_to_classpath



Mime
View raw message