hbase-dev mailing list archives

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

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

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

Nobody has noticed this issue so far so the Chore may not be that important

This message was sent by Atlassian JIRA

View raw message