Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-15057

local-master-backup.sh doesn't start HMaster correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.2, 2.0.0
    • 1.2.0, 1.3.0, 2.0.0
    • shell
    • None
    • GNU/Linux x86_64.

    • Reviewed

    Description

      ./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` \

      Attachments

        1. HBASE-15057-v0.patch
          0.8 kB
          Samir Ahmic

        Activity

          People

            asamir Samir Ahmic
            cykerway Cyker Way
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: