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
This commit is contained in:
Michael Stack 2009-07-10 04:20:48 +00:00
parent 732abb77c8
commit e2f5f48014
2 changed files with 3 additions and 0 deletions

View File

@ -457,6 +457,7 @@ Release 0.20.0 - Unreleased
HBASE-1551 HBase should manage multiple node ZooKeeper quorum HBASE-1551 HBase should manage multiple node ZooKeeper quorum
HBASE-1637 Delete client class methods should return itself like Put, Get, HBASE-1637 Delete client class methods should return itself like Put, Get,
Scan (Jon Gray via Nitay) Scan (Jon Gray via Nitay)
HBASE-1640 Allow passing arguments to jruby script run when run by bin/hbase shell
OPTIMIZATIONS OPTIMIZATIONS
HBASE-1412 Change values for delete column and column family in KeyValue HBASE-1412 Change values for delete column and column family in KeyValue

View File

@ -63,6 +63,8 @@ for arg in ARGV
# after we've set up some environment. # after we've set up some environment.
script2run = arg script2run = arg
found.push(arg) found.push(arg)
# Presume that any other args are meant for the script.
break
end end
end end
for arg in found for arg in found