hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-20074) [FindBugs] Same code on both branches in CompactingMemStore#initMemStoreCompactor
Date Sat, 24 Feb 2018 20:34:00 GMT
stack created HBASE-20074:

             Summary: [FindBugs] Same code on both branches in CompactingMemStore#initMemStoreCompactor
                 Key: HBASE-20074
                 URL: https://issues.apache.org/jira/browse/HBASE-20074
             Project: HBase
          Issue Type: Bug
          Components: findbugs
            Reporter: stack
            Assignee: Gali Sheffi

[~galish] Our findbugs checking was disabled for a few weeks and we just turned it on again.
It found a good one. Mind fixing it please? Meantime I've undone the if class to get a factor
dependent on index type. Thanks.

Code	Warning
DB	org.apache.hadoop.hbase.regionserver.CompactingMemStore.initInmemoryFlushSize(Configuration)
uses the same code for two branches
Bug type DB_DUPLICATE_BRANCHES (click for details) 
In class org.apache.hadoop.hbase.regionserver.CompactingMemStore
In method org.apache.hadoop.hbase.regionserver.CompactingMemStore.initInmemoryFlushSize(Configuration)
At CompactingMemStore.java:[line 140]
At CompactingMemStore.java:[line 143]

This message was sent by Atlassian JIRA

View raw message