You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Samir Ahmic (JIRA)" <ji...@apache.org> on 2015/09/30 14:03:04 UTC

[jira] [Created] (HBASE-14523) rolling-restart.sh --graceful will start regionserver process on master node

Samir Ahmic created HBASE-14523:
-----------------------------------

             Summary: rolling-restart.sh --graceful will start regionserver process on master node
                 Key: HBASE-14523
                 URL: https://issues.apache.org/jira/browse/HBASE-14523
             Project: HBase
          Issue Type: Bug
          Components: scripts
    Affects Versions: 2.0.0
            Reporter: Samir Ahmic
            Assignee: Samir Ahmic
             Fix For: 2.0.0


In master branch master acts also as regionserver hosting 'hbase:meta' table and it has ephemeral znode created in '/hbase/rs'. Because of this rolling-restart.sh --graceful will pick up master server from zk at this line:
{code}
online_regionservers=`$bin/hbase zkcli ls $zkrs 2>&1 | tail -1 | sed "s/\[//" | sed "s/\]//"`
{code}
and will restart it a long with rest of regionservers. 
I'm planing to add some code to rolling-restart.sh script to filter master server from list above. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)