hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-16944) Fix findbugs warning in hbase-server HRegion UL_UNRELEASED_LOCK
Date Tue, 25 Oct 2016 21:44:58 GMT

     [ https://issues.apache.org/jira/browse/HBASE-16944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

stack resolved HBASE-16944.
---------------------------
    Resolution: Fixed

Pushed this:

{code}
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
index 71cc247..7bfd652 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
@@ -3025,6 +3025,8 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver,
Regi
    * In here we also handle replay of edits on region recover.
    * @return Change in size brought about by applying <code>batchOp</code>
    */
+  @edu.umd.cs.findbugs.annotations.SuppressWarnings(value="UL_UNRELEASED_LOCK",
+                 justification="Findbugs seems to be confused on this.")
   @SuppressWarnings("unchecked")
   // TODO: This needs a rewrite. Doesn't have to be this long. St.Ack 20160120
   private long doMiniBatchMutate(BatchOperation<?> batchOp) throws IOException {
{code}

> Fix findbugs warning in hbase-server HRegion UL_UNRELEASED_LOCK
> ---------------------------------------------------------------
>
>                 Key: HBASE-16944
>                 URL: https://issues.apache.org/jira/browse/HBASE-16944
>             Project: HBase
>          Issue Type: Bug
>          Components: findbugs
>            Reporter: stack
>
> Fix the annoying long-lived UL_UNRELEASED_LOCK warning out of line 3251 in HRegion.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message