You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/07/21 05:24:39 UTC
[jira] [Updated] (HBASE-11551) BucketCache$WriterThread.run()
doesn't handle exceptions correctly
[ https://issues.apache.org/jira/browse/HBASE-11551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated HBASE-11551:
---------------------------
Description:
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, silently.
was:
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.
> 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, silently.
--
This message was sent by Atlassian JIRA
(v6.2#6252)