Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9ADD59C9C for ; Wed, 1 Feb 2012 18:25:20 +0000 (UTC) Received: (qmail 51142 invoked by uid 500); 1 Feb 2012 18:25:20 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 51087 invoked by uid 500); 1 Feb 2012 18:25:19 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 51071 invoked by uid 99); 1 Feb 2012 18:25:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 18:25:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 18:25:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id ACA971842B2 for ; Wed, 1 Feb 2012 18:24:58 +0000 (UTC) Date: Wed, 1 Feb 2012 18:24:58 +0000 (UTC) From: "stack (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <2104842170.3628.1328120698708.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <511919486.2026.1328086018995.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5314) Gracefully rolling restart region servers in rolling-restart.sh MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-5314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198024#comment-13198024 ] stack commented on HBASE-5314: ------------------------------ This is interesting. You are putting together rolling_restart.sh and graceful_stop.sh. Nice. What version of hbase you working against? Should this new behavior be optional otherwise those who might be using rolling_restart.sh now might get a surprise (IMO, its unlikely anyone is using rolling_restart.sh because it so disruptive.. which you are fixing... but still, I'd think a --graceful option that enables this new facility would be way to go). Patch looks good but for this. > Gracefully rolling restart region servers in rolling-restart.sh > --------------------------------------------------------------- > > Key: HBASE-5314 > URL: https://issues.apache.org/jira/browse/HBASE-5314 > Project: HBase > Issue Type: Improvement > Components: scripts > Reporter: YiFeng Jiang > Priority: Minor > Attachments: HBASE-5314.patch > > > The rolling-restart.sh has a --rs-only option which simply restarts all region servers in the cluster. > Consider improve it to gracefully restart region servers to avoid the offline time of the regions deployed on that server, and keep the region distributions same as what it was before the restarting. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira