hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12924) HRegionServer#MovedRegionsCleaner Chore does not start
Date Mon, 26 Jan 2015 22:15:34 GMT

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

stack commented on HBASE-12924:
-------------------------------

You have a patch [~jonathan.lawlor]? Thanks boss.

> 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
>
> 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