hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-11551) BucketCache$WriterThread.run() doesn't handle exceptions correctly
Date Mon, 21 Jul 2014 03:20:38 GMT
Ted Yu created HBASE-11551:
------------------------------

             Summary: BucketCache$WriterThread.run() doesn't handle exceptions correctly
                 Key: HBASE-11551
                 URL: https://issues.apache.org/jira/browse/HBASE-11551
             Project: HBase
          Issue Type: Bug
            Reporter: Ted Yu
            Assignee: Ted Yu


Currently the catch is outside the while loop:
{code}
      try {
        while (cacheEnabled && writerEnabled) {
...
      } catch (Throwable t) {
        LOG.warn("Failed doing drain", t);
      }
{code}
When exception (e.g. BucketAllocatorException) is thrown, run() method would terminate.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message