HBASE-15057 local-master-backup.sh doesn't start HMaster correctly (Samir Ahmic)

This commit is contained in:
tedyu 2016-01-08 15:58:01 -08:00
parent 4a26644245
commit c2f67a053e
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ run_master () {
DN=$2 DN=$2
export HBASE_IDENT_STRING="$USER-$DN" export HBASE_IDENT_STRING="$USER-$DN"
HBASE_MASTER_ARGS="\ HBASE_MASTER_ARGS="\
-D hbase.master.port=`expr 16000 + $DN` \
-D hbase.master.info.port=`expr 16010 + $DN` \ -D hbase.master.info.port=`expr 16010 + $DN` \
-D hbase.regionserver.port=`expr 16020 + $DN` \ -D hbase.regionserver.port=`expr 16020 + $DN` \
-D hbase.regionserver.info.port=`expr 16030 + $DN` \ -D hbase.regionserver.info.port=`expr 16030 + $DN` \