Samir Ahmic created HBASE-10051:
-----------------------------------

             Summary: rolling-restart.sh have old value of 
"zookeeper.znode.unassiged" config causing infinite loop
                 Key: HBASE-10051
                 URL: https://issues.apache.org/jira/browse/HBASE-10051
             Project: HBase
          Issue Type: Bug
          Components: scripts
    Affects Versions: 0.96.0
         Environment: x86_64 GNU/Linux
            Reporter: Samir Ahmic


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:
{code}
if [ "$zunassigned" == "null" ]; then zunassigned="unassigned"; fi 
{code}

AFAIK default value of "zookeeper.znode.unassiged" is changed to 
"region-in-transition". So we should change this line to:
{code}
if [ "$zunassigned" == "null" ]; then zunassigned="region-in-transition"; fi 
{code}

I will attach patch today.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to