hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19072) Missing break in catch block of InterruptedException in HRegion#waitForFlushes()
Date Tue, 24 Oct 2017 10:45:00 GMT

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

Hudson commented on HBASE-19072:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-2.0 #740 (See [https://builds.apache.org/job/HBase-2.0/740/])
HBASE-19072 Missing beak in catch block of InterruptedException in (tedyu: rev 1e98ce2c8eeefd4a94a6a9345c8aaaf696b7924a)
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java


> Missing break in catch block of InterruptedException in HRegion#waitForFlushes() 
> ---------------------------------------------------------------------------------
>
>                 Key: HBASE-19072
>                 URL: https://issues.apache.org/jira/browse/HBASE-19072
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 1.4.0, 1.3.2, 1.5.0, 1.2.7, 2.0.0-alpha-4
>
>         Attachments: 19072.v1.txt
>
>
> During review of HBASE-18358, [~elserj] found that there was missing break in the catch
block:
> {code}
>           } catch (InterruptedException iex) {
>             // essentially ignore and propagate the interrupt back up
>             LOG.warn("Interrupted while waiting");
>             interrupted = true;
>           }
> {code}
> When thread is interrupted, we shouldn't wait on writestate.flushing anymore.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message