From e2f5f4801448e1d9ac6fef3af96dbf7dd4ac0e72 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Fri, 10 Jul 2009 04:20:48 +0000 Subject: [PATCH] HBASE-1640 Allow passing arguments to jruby script run when run by bin/hbase shell git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@792802 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 1 + bin/hirb.rb | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index 88b05e8f3aa..df311526af9 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -457,6 +457,7 @@ Release 0.20.0 - Unreleased HBASE-1551 HBase should manage multiple node ZooKeeper quorum HBASE-1637 Delete client class methods should return itself like Put, Get, Scan (Jon Gray via Nitay) + HBASE-1640 Allow passing arguments to jruby script run when run by bin/hbase shell OPTIMIZATIONS HBASE-1412 Change values for delete column and column family in KeyValue diff --git a/bin/hirb.rb b/bin/hirb.rb index 1944da9acbb..e0806f0d46d 100644 --- a/bin/hirb.rb +++ b/bin/hirb.rb @@ -63,6 +63,8 @@ for arg in ARGV # after we've set up some environment. script2run = arg found.push(arg) + # Presume that any other args are meant for the script. + break end end for arg in found