added unset_zone_id context for clients
[voldemort/jeffpc.git] / bin / voldemort-convert-bdb.sh
blob52af1efd09d9836a64b5d516773e32596c2c0024
1 #!/bin/bash
3 # Copyright 2008-2012 LinkedIn, Inc
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
18 base_dir=$(dirname $0)/..
20 for file in $base_dir/dist/*.jar;
22 CLASSPATH=$CLASSPATH:$file
23 done
25 for file in $base_dir/lib/*.jar;
27 CLASSPATH=$CLASSPATH:$file
28 done
30 for file in $base_dir/contrib/*/lib/*.jar;
32 CLASSPATH=$CLASSPATH:$file
33 done
35 CLASSPATH=$CLASSPATH:$base_dir/dist/resources
37 JVM_OPTS="-server -Xms5g -Xmx5g -XX:NewSize=1024m -XX:MaxNewSize=1024m -XX:+AlwaysPreTouch -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:CMSInitiatingOccupancyFraction=70 -XX:SurvivorRatio=2"
39 java -Dlog4j.configuration=src/java/log4j.properties $JVM_OPTS -cp $CLASSPATH voldemort.store.bdb.dataconversion.BdbConvertData $@