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 D3D4617D6F for ; Wed, 12 Nov 2014 04:28:34 +0000 (UTC) Received: (qmail 38411 invoked by uid 500); 12 Nov 2014 04:28:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 38365 invoked by uid 500); 12 Nov 2014 04:28:34 -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 38302 invoked by uid 99); 12 Nov 2014 04:28:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2014 04:28:34 +0000 Date: Wed, 12 Nov 2014 04:28:34 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12434) Add a command to compact all the regions in a regionserver 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-12434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14207661#comment-14207661 ] Hudson commented on HBASE-12434: -------------------------------- SUCCESS: Integrated in HBase-0.98 #669 (See [https://builds.apache.org/job/HBase-0.98/669/]) HBASE-12434 Add a command to compact all the regions in a regionserver (Liu Shaohui) (apurtell: rev f1a8f2fcaef46dc48dd764651aa9214cad07ec1f) * hbase-shell/src/main/ruby/shell/commands/compact_rs.rb * hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java * hbase-shell/src/main/ruby/hbase/admin.rb * hbase-shell/src/main/ruby/shell.rb > Add a command to compact all the regions in a regionserver > ---------------------------------------------------------- > > Key: HBASE-12434 > URL: https://issues.apache.org/jira/browse/HBASE-12434 > Project: HBase > Issue Type: Improvement > Components: shell > Reporter: Liu Shaohui > Assignee: Liu Shaohui > Priority: Minor > Fix For: 2.0.0, 0.98.8, 0.99.2 > > Attachments: HBASE-12434-0.98.patch, HBASE-12434-v1.diff > > > When adding a new regionserver to the hbase cluster, the data locality of the regions in the new regionserver is very low. Most read hdfs requests from these regions are remote read, not local read. So, the latency of read request to these regions is not stable. > Usually we can compact all the regions in the new regionserver to improve the data locality in offpeak. > So we add a command: compact_rs in hbase shell. -- This message was sent by Atlassian JIRA (v6.3.4#6332)