Skip to content

Commit

Permalink
fix for hbase config
Browse files Browse the repository at this point in the history
  • Loading branch information
haitaoyao committed Jun 18, 2013
1 parent 3f90e99 commit f30ecf0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/performance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ phoenix_client_jar=$(find $phoenix_jar_path/phoenix-*-client.jar)
testjar="$phoenix_jar_path/phoenix-*-tests.jar"

# HBase configuration folder path (where hbase-site.xml reside) for HBase/Phoenix client side property override
hbase_config_path="."
hbase_config_path="$current_dir"

execute="java -cp "$hbase_config_path:$phoenix_client_jar" -Dlog4j.configuration=file:$current_dir/log4j.properties com.salesforce.phoenix.util.PhoenixRuntime -t $table $zookeeper "
function usage {
Expand Down
2 changes: 1 addition & 1 deletion bin/psql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ phoenix_jar_path="$current_dir/../target"
phoenix_client_jar=$(find $phoenix_jar_path/phoenix-*-client.jar)

# HBase configuration folder path (where hbase-site.xml reside) for HBase/Phoenix client side property override
hbase_config_path="."
hbase_config_path="$current_dir"

java -cp "$hbase_config_path:$phoenix_client_jar" -Dlog4j.configuration=file:$current_dir/log4j.properties com.salesforce.phoenix.util.PhoenixRuntime "$@"
2 changes: 1 addition & 1 deletion bin/upgradeTo2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ phoenix_jar_path="$current_dir/../target"
phoenix_client_jar=$(find $phoenix_jar_path/phoenix-*-client.jar)

# HBase configuration folder path (where hbase-site.xml reside) for HBase/Phoenix client side property override
hbase_config_path="."
hbase_config_path="$current_dir"

java -cp "$hbase_config_path:$phoenix_client_jar" -Dlog4j.configuration=file:$current_dir/log4j.properties com.salesforce.phoenix.util.PhoenixRuntime -u "$@"

0 comments on commit f30ecf0

Please sign in to comment.