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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.96.0
    • Fix Version/s: 0.98.0, 0.96.1
    • Component/s: scripts
    • Labels:
      None
    • Environment:

      x86_64 GNU/Linux

    • Hadoop Flags:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: