hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yu Li (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-16066) Resolve RpC_REPEATED_CONDITIONAL_TEST findbugs warnings in HMaster
Date Sun, 19 Jun 2016 09:05:05 GMT
Yu Li created HBASE-16066:

             Summary: Resolve RpC_REPEATED_CONDITIONAL_TEST findbugs warnings in HMaster
                 Key: HBASE-16066
                 URL: https://issues.apache.org/jira/browse/HBASE-16066
             Project: HBase
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Yu Li
            Assignee: Yu Li
             Fix For: 2.0.0

As titled, find this issue in findbugs report of HBASE-16032:
Code	Warning
RpC	Repeated conditional test in org.apache.hadoop.hbase.master.HMaster.normalizeRegions()
Bug type RpC_REPEATED_CONDITIONAL_TEST (click for details) 
In class org.apache.hadoop.hbase.master.HMaster
In method org.apache.hadoop.hbase.master.HMaster.normalizeRegions()
At HMaster.java:[line 1388]
At HMaster.java:[line 1388]

And we could find below lines in {{HMaster}} line 1388:
        if (table.isSystemTable() || (tblDesc != null &&
            tblDesc != null &&
            !tblDesc.isNormalizationEnabled())) {
where there's a duplicated check, introduced by HBASE-15467

This message was sent by Atlassian JIRA

View raw message