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

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

     [ https://issues.apache.org/jira/browse/HBASE-14523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samir Ahmic updated HBASE-14523:
--------------------------------
    Description: 
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 above  list. 

  was:
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. 


> 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 above  list. 



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