Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3ED079035 for ; Tue, 24 Apr 2012 15:35:09 +0000 (UTC) Received: (qmail 14203 invoked by uid 500); 24 Apr 2012 15:35:09 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 14180 invoked by uid 500); 24 Apr 2012 15:35:09 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 14172 invoked by uid 99); 24 Apr 2012 15:35:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2012 15:35:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2012 15:35:06 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id B24502388A29 for ; Tue, 24 Apr 2012 15:34:45 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1329795 - in /hbase/branches/0.92: CHANGES.txt bin/graceful_stop.sh Date: Tue, 24 Apr 2012 15:34:45 -0000 To: commits@hbase.apache.org From: stack@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120424153445.B24502388A29@eris.apache.org> Author: stack Date: Tue Apr 24 15:34:45 2012 New Revision: 1329795 URL: http://svn.apache.org/viewvc?rev=1329795&view=rev Log: HBASE-5863 Improve the graceful_stop.sh CLI help (especially about reloads) Modified: hbase/branches/0.92/CHANGES.txt hbase/branches/0.92/bin/graceful_stop.sh Modified: hbase/branches/0.92/CHANGES.txt URL: http://svn.apache.org/viewvc/hbase/branches/0.92/CHANGES.txt?rev=1329795&r1=1329794&r2=1329795&view=diff ============================================================================== --- hbase/branches/0.92/CHANGES.txt (original) +++ hbase/branches/0.92/CHANGES.txt Tue Apr 24 15:34:45 2012 @@ -47,6 +47,8 @@ Release 0.92.2 - Unreleased HBASE-5833 0.92 build has been failing pretty consistently on TestMasterFailover HBASE-5857 RIT map in RS not getting cleared while region opening (Chinna Rao) HBASE-5850 Refuse operations from Admin before master is initialized - fix for all branches (xufeng) + HBASE-5863 Improve the graceful_stop.sh CLI help (especially about reloads) + (Harsh J) IMPROVEMENTS HBASE-5592 Make it easier to get a table from shell (Ben West) Modified: hbase/branches/0.92/bin/graceful_stop.sh URL: http://svn.apache.org/viewvc/hbase/branches/0.92/bin/graceful_stop.sh?rev=1329795&r1=1329794&r2=1329795&view=diff ============================================================================== --- hbase/branches/0.92/bin/graceful_stop.sh (original) +++ hbase/branches/0.92/bin/graceful_stop.sh Tue Apr 24 15:34:45 2012 @@ -19,16 +19,16 @@ # * See the License for the specific language governing permissions and # * limitations under the License. # */ - + # Move regions off a server then stop it. Optionally restart and reload. # Turn off the balancer before running this script. function usage { - echo "Usage: graceful_stop.sh [--config ] [--restart] [--reload] [--thrift] [--rest] " + echo "Usage: graceful_stop.sh [--config ] [--restart [--reload]] [--thrift] [--rest] " echo " thrift If we should stop/start thrift before/after the hbase stop/start" echo " rest If we should stop/start rest before/after the hbase stop/start" echo " restart If we should restart after graceful stop" - echo " reload Move offloaded regions back on to the stopped server" - echo " debug Move offloaded regions back on to the stopped server" + echo " reload Move offloaded regions back on to the restarted server" + echo " debug Print helpful debug information" echo " hostname Hostname of server we are to stop" exit 1 }