Skip to content
Newer
Older
100755 28 lines (23 sloc) 862 Bytes
fbd0f95 @jkreps Initial import
jkreps authored Jan 2, 2009
1 #!/bin/bash
2
3f78a7e @jkreps Add license to scripts.
jkreps authored Jan 14, 2009
3 #
4 # Copyright 2008-2009 LinkedIn, Inc
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 # http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #
18
e420db3 @afeinberg Incorporated a patch by Benjamin Schmaus<benjamin.schmaus@gmail.com>:…
afeinberg authored Nov 18, 2009
19 if [ $# -lt 2 ];
fbd0f95 @jkreps Initial import
jkreps authored Jan 2, 2009
20 then
75f9cec @rsumbaly Made ClientShell more zone friendly
rsumbaly authored Jul 21, 2010
21 echo 'USAGE: bin/voldemort-shell.sh store_name bootstrap_url [command_file] [--client-zone-id <zone-id>]'
fbd0f95 @jkreps Initial import
jkreps authored Jan 2, 2009
22 exit 1
23 fi
24
25 base_dir=$(dirname $0)/..
26
e420db3 @afeinberg Incorporated a patch by Benjamin Schmaus<benjamin.schmaus@gmail.com>:…
afeinberg authored Nov 18, 2009
27 $base_dir/bin/run-class.sh jline.ConsoleRunner voldemort.VoldemortClientShell $@
Something went wrong with that request. Please try again.