hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-12957) region_mover#isSuccessfulScan may be extremely slow on region with lots of expired data
Date Thu, 05 Feb 2015 16:32:35 GMT

    [ https://issues.apache.org/jira/browse/HBASE-12957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14307506#comment-14307506
] 

Andrew Purtell edited comment on HBASE-12957 at 2/5/15 4:31 PM:
----------------------------------------------------------------

I think this should be in 0.98 to keep the delta between there and branch-1 small, will apply
there shortly, but I don't see why we are not using a Get - the patch sets up Scan as an equivalent.
I'm not a big fan of the change. We can improve this on another issue.


was (Author: apurtell):
I think this should be in 0.98 to keep the delta between there and branch-1 small, will apply
there shortly, but I don't see why we are not using a Get instead of as the patch has Scan
set up an equivalent. I'm not a big fan of the change. We can improve this on another issue.

> region_mover#isSuccessfulScan may be extremely slow on region with lots of 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
>
>         Attachments: HBASE-12957-v0.patch
>
>
> region_mover will call isSuccessfulScan when region has moved to make sure it's healthy,
however , if the moved region has lots of expired data region_mover#isSuccessfulScan will
take a long time to finish ,that may even exceed "lease timeout".So I made isSuccessfulScan
a get-like scan to achieve faster response in that case. 
> workaround:before graceful_stop/rolling_restart ,call major_compact on the table with
small TTL



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message