hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r703027 - in /hadoop/hbase/trunk: CHANGES.txt bin/hirb.rb
Date Thu, 09 Oct 2008 00:03:50 GMT
Author: stack
Date: Wed Oct  8 17:03:50 2008
New Revision: 703027

URL: http://svn.apache.org/viewvc?rev=703027&view=rev
Log:
HBASE-844 Can't pass script to hbase shell

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/bin/hirb.rb

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=703027&r1=703026&r2=703027&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Wed Oct  8 17:03:50 2008
@@ -15,7 +15,8 @@
                (Doğacan Güney via Jim Kellerman)
    HBASE-906   [shell] Truncates output
    HBASE-912   PE is broken when other tables exist
-   HBASE-853    [shell] Cannot describe meta tables (Izaak Rubin via Stack)
+   HBASE-853   [shell] Cannot describe meta tables (Izaak Rubin via Stack)
+   HBASE-844   Can't pass script to hbase shell 
 
   IMPROVEMENTS
    HBASE-901   Add a limit to key length, check key and value length on client side

Modified: hadoop/hbase/trunk/bin/hirb.rb
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/bin/hirb.rb?rev=703027&r1=703026&r2=703027&view=diff
==============================================================================
--- hadoop/hbase/trunk/bin/hirb.rb (original)
+++ hadoop/hbase/trunk/bin/hirb.rb Wed Oct  8 17:03:50 2008
@@ -57,6 +57,10 @@
   elsif arg == '-h' || arg == '--help'
     puts cmdline_help
     exit
+  else
+    # Presume it a script and try running it.  Will go on to run the shell unless
+    # script calls 'exit' or 'exit 0' or 'exit errcode'.
+    load(arg)
   end
 end
 for arg in found



Mime
View raw message