hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14523) rolling-restart.sh --graceful will start regionserver process on master node
Date Thu, 01 Oct 2015 17:24:26 GMT

    [ https://issues.apache.org/jira/browse/HBASE-14523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14940094#comment-14940094
] 

Ted Yu commented on HBASE-14523:
--------------------------------

Have you tested the new patch ?

If so, +1

> 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
>
>         Attachments: HBASE-14523.patch, HBASE-14523v2.patch
>
>
> 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)

Mime
View raw message