hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hongyu bi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12957) region_mover#isSuccessfulScan may extremely slow on region with lots of expired data
Date Tue, 03 Feb 2015 06:46:35 GMT

     [ https://issues.apache.org/jira/browse/HBASE-12957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

hongyu bi updated HBASE-12957:
------------------------------
    Description: 
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

  was: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. 


> region_mover#isSuccessfulScan may 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
>            Priority: Minor
>         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