You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2019/03/07 14:57:54 UTC

[hbase] 02/02: HBASE-22006 Fix branch-2.1 findbugs warning; causes nightly show as failed.

This is an automated email from the ASF dual-hosted git repository.

busbey pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit a21e5dce46d3fef8daf481453d3c32d1ad31319e
Author: stack <st...@apache.org>
AuthorDate: Wed Mar 6 15:59:06 2019 -0800

    HBASE-22006 Fix branch-2.1 findbugs warning; causes nightly show as failed.
    
    (cherry picked from commit 8e2800f50401c37dcb921533cff62b40efd7e8d6)
---
 .../java/org/apache/hadoop/hbase/regionserver/HRegionServer.java     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
index 5e44a19..b413b5b 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
@@ -1569,9 +1569,8 @@ public class HRegionServer extends HasThread implements
           MemStoreLAB.POOL_INITIAL_SIZE_DEFAULT);
       int chunkSize = conf.getInt(MemStoreLAB.CHUNK_SIZE_KEY, MemStoreLAB.CHUNK_SIZE_DEFAULT);
       // init the chunkCreator
-      ChunkCreator chunkCreator =
-          ChunkCreator.initialize(chunkSize, offheap, globalMemStoreSize, poolSizePercentage,
-      initialCountPercentage, this.hMemManager);
+      ChunkCreator.initialize(chunkSize, offheap, globalMemStoreSize, poolSizePercentage,
+        initialCountPercentage, this.hMemManager);
     }
   }