[ https://issues.apache.org/jira/browse/HBASE-14523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14939907#comment-14939907 ]
Ted Yu commented on HBASE-14523: -------------------------------- {code} 170 if [ $port -eq "16000" ]; then {code} Can hardcoded value be avoided ? > 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 > > > 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)