hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qianxi Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-11354) HConnectionImplementation#DelayedClosing does not start
Date Sun, 15 Jun 2014 08:09:02 GMT
Qianxi Zhang created HBASE-11354:

             Summary: HConnectionImplementation#DelayedClosing does not start
                 Key: HBASE-11354
                 URL: https://issues.apache.org/jira/browse/HBASE-11354
             Project: HBase
          Issue Type: Bug
          Components: Client
    Affects Versions: 0.98.3, 0.99.0
            Reporter: Qianxi Zhang
            Assignee: Qianxi Zhang

The method "createAndStart" in class DelayedClosing only creates a instance, but forgets to
start it. So thread delayedClosing is not running all the time.
      static DelayedClosing createAndStart(HConnectionImplementation hci){
        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 DelayedClosing(hci, stoppable);

This message was sent by Atlassian JIRA

View raw message