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 77DF917F47 for ; Wed, 6 May 2015 05:37:00 +0000 (UTC) Received: (qmail 48709 invoked by uid 500); 6 May 2015 05:37:00 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 48661 invoked by uid 500); 6 May 2015 05:37:00 -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 48649 invoked by uid 99); 6 May 2015 05:37:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2015 05:37:00 +0000 Date: Wed, 6 May 2015 05:37:00 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12957) region_mover#isSuccessfulScan may be extremely slow on region with lots of expired data MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-12957?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D145= 29961#comment-14529961 ]=20 Lars Hofhansl commented on HBASE-12957: --------------------------------------- Pushed to 1.0.2 (not released, yet, so that's fine). All good now. > region_mover#isSuccessfulScan may be extremely slow on region with lots o= f expired data > -------------------------------------------------------------------------= -------------- > > Key: HBASE-12957 > URL: https://issues.apache.org/jira/browse/HBASE-12957 > Project: HBase > Issue Type: Improvement > Components: scripts > Reporter: hongyu bi > Assignee: hongyu bi > Priority: Minor > Fix For: 2.0.0, 1.1.0, 0.98.11, 1.0.2 > > Attachments: HBASE-12957-v0.patch > > > region_mover will call isSuccessfulScan when region has moved to make sur= e it's healthy, however , if the moved region has lots of expired data regi= on_mover#isSuccessfulScan will take a long time to finish ,that may even ex= ceed "lease timeout".So I made isSuccessfulScan a get-like scan to achieve = faster response in that case.=20 > workaround:before graceful_stop/rolling_restart =EF=BC=8Ccall major_compa= ct on the table with small TTL -- This message was sent by Atlassian JIRA (v6.3.4#6332)