You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Cyker Way (JIRA)" <ji...@apache.org> on 2015/12/30 20:02:49 UTC

[jira] [Created] (HBASE-15057) local-master-backup.sh doesn't start HMaster correctly

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)