[ https://issues.apache.org/jira/browse/HBASE-27758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang updated HBASE-27758: ------------------------------ Fix Version/s: 2.4.18 (was: 2.4.17) > Inconsistent synchronization in MetricsUserSourceImpl > ----------------------------------------------------- > > Key: HBASE-27758 > URL: https://issues.apache.org/jira/browse/HBASE-27758 > Project: HBase > Issue Type: Improvement > Reporter: Bryan Beaudreault > Assignee: Bryan Beaudreault > Priority: Major > Labels: patch-available > Fix For: 2.6.0, 3.0.0-alpha-4, 2.5.4, 2.4.18 > > > 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)