hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sameet Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12924) HRegionServer#MovedRegionsCleaner Chore does not start
Date Thu, 26 Feb 2015 16:51:05 GMT

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

Sameet Agarwal updated HBASE-12924:
-----------------------------------
    Attachment: first-task.patch

The patch adds the MovedRegionsCleaner chore to the background chores. Also added a unit test
to test this.


> HRegionServer#MovedRegionsCleaner Chore does not start
> ------------------------------------------------------
>
>                 Key: HBASE-12924
>                 URL: https://issues.apache.org/jira/browse/HBASE-12924
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jonathan Lawlor
>            Priority: Minor
>             Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.11
>
>         Attachments: first-task.patch
>
>
> This issue is very similar to the one described in HBASE-11354. The method createAndStart
in MovedRegionsCleaner creates an instance of the chore but never starts the underlying thread:
> {code}
>     static MovedRegionsCleaner createAndStart(HRegionServer rs){
>       Stoppable stoppable = new Stoppable() {
>         private volatile boolean isStopped = false;
>         @Override public void stop(String why) { isStopped = true;}
>         @Override public boolean isStopped() {return isStopped;}
>       };
>       return new MovedRegionsCleaner(rs, stoppable);
>     }
> {code}
> Nobody has noticed this issue so far so the Chore may not be that important



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

Mime
View raw message