hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-16944 Fix findbugs warning in hbase-server HRegion UL_UNRELEASED_LOCK
Date Tue, 25 Oct 2016 21:44:19 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 8e2d41019 -> bbe88d942


HBASE-16944 Fix findbugs warning in hbase-server HRegion UL_UNRELEASED_LOCK


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/bbe88d94
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/bbe88d94
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/bbe88d94

Branch: refs/heads/master
Commit: bbe88d942ec4ac673cdaf266d4bf7e15d2b334d8
Parents: 8e2d410
Author: Michael Stack <stack@apache.org>
Authored: Tue Oct 25 14:44:11 2016 -0700
Committer: Michael Stack <stack@apache.org>
Committed: Tue Oct 25 14:44:11 2016 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/regionserver/HRegion.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/bbe88d94/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
----------------------------------------------------------------------
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 {


Mime
View raw message