Bryan Beaudreault created HBASE-27758:
-----------------------------------------

             Summary: Inconsistent synchronization in MetricsUserSourceImpl
                 Key: HBASE-27758
                 URL: https://issues.apache.org/jira/browse/HBASE-27758
             Project: HBase
          Issue Type: Improvement
            Reporter: Bryan Beaudreault


Picked up by spotbugs:

 
||Code||Warning||
|IS|Inconsistent synchronization of 
org.apache.hadoop.hbase.regionserver.MetricsUserSourceImpl.appendHisto; locked 
50% of time|
| |[Bug type IS2_INCONSISTENT_SYNC (click for 
details)|https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5067/7/artifact/yetus-general-check/output/new-spotbugs-hbase-hadoop-compat.html#IS2_INCONSISTENT_SYNC]
In class org.apache.hadoop.hbase.regionserver.MetricsUserSourceImpl
Field org.apache.hadoop.hbase.regionserver.MetricsUserSourceImpl.appendHisto
Synchronized 50% of the time
Unsynchronized access at MetricsUserSourceImpl.java:[line 253]
Synchronized access at MetricsUserSourceImpl.java:[line 146]|
|IS|Inconsistent synchronization of 
org.apache.hadoop.hbase.regionserver.MetricsUserSourceImpl.getHisto; locked 50% 
of time|
| |[Bug type IS2_INCONSISTENT_SYNC (click for 
details)|https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5067/7/artifact/yetus-general-check/output/new-spotbugs-hbase-hadoop-compat.html#IS2_INCONSISTENT_SYNC]
In class org.apache.hadoop.hbase.regionserver.MetricsUserSourceImpl
Field org.apache.hadoop.hbase.regionserver.MetricsUserSourceImpl.getHisto
Synchronized 50% of the time
Unsynchronized access at MetricsUserSourceImpl.java:[line 241]
Synchronized access at MetricsUserSourceImpl.java:[line 141]|
|IS|Inconsistent synchronization of 
org.apache.hadoop.hbase.regionserver.MetricsUserSourceImpl.incrementHisto; 
locked 50% of time|
| |[Bug type IS2_INCONSISTENT_SYNC (click for 
details)|https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5067/7/artifact/yetus-general-check/output/new-spotbugs-hbase-hadoop-compat.html#IS2_INCONSISTENT_SYNC]
In class org.apache.hadoop.hbase.regionserver.MetricsUserSourceImpl
Field org.apache.hadoop.hbase.regionserver.MetricsUserSourceImpl.incrementHisto
Synchronized 50% of the time
Unsynchronized access at MetricsUserSourceImpl.java:[line 247]
Synchronized access at MetricsUserSourceImpl.java:[line 145]|
|IS|Inconsistent synchronization of 
org.apache.hadoop.hbase.regionserver.MetricsUserSourceImpl.scanTimeHisto; 
locked 50% of time|
| |[Bug type IS2_INCONSISTENT_SYNC (click for 
details)|https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5067/7/artifact/yetus-general-check/output/new-spotbugs-hbase-hadoop-compat.html#IS2_INCONSISTENT_SYNC]
In class org.apache.hadoop.hbase.regionserver.MetricsUserSourceImpl
Field org.apache.hadoop.hbase.regionserver.MetricsUserSourceImpl.scanTimeHisto
Synchronized 50% of the time
Unsynchronized access at MetricsUserSourceImpl.java:[line 264]
Synchronized access at MetricsUserSourceImpl.java:[line 142]|



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to