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

rolling-restart.sh have old value of "zookeeper.znode.unassiged" config causing infinite loop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.96.0
    • 0.98.0, 0.96.1
    • scripts
    • None
    • x86_64 GNU/Linux

    • Reviewed

    Description

      While running rolling-restart.sh without arguments or with --master-only argument script throws error when trying to check did all regions are cleared from transition state. Here is line causing error:

      if [ "$zunassigned" == "null" ]; then zunassigned="unassigned"; fi 
      

      AFAIK default value of "zookeeper.znode.unassiged" is changed to "region-in-transition". So we should change this line to:

      if [ "$zunassigned" == "null" ]; then zunassigned="region-in-transition"; fi 
      

      I will attach patch today.

      Attachments

        1. HBASE-10051.patch
          0.7 kB
          Samir Ahmic

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: