Cyker Way created HBASE-15057:
---------------------------------

             Summary: local-master-backup.sh doesn't start HMaster correctly
                 Key: HBASE-15057
                 URL: https://issues.apache.org/jira/browse/HBASE-15057
             Project: HBase
          Issue Type: Bug
          Components: shell
    Affects Versions: 1.1.2
         Environment: GNU/Linux x86_64.
            Reporter: Cyker Way


./bin/local-master-backup.sh cannot start a backup HMaster. The error in log is 
a port conflict. After reading the file it seems an additional option is 
required to make it work:

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





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to