Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-27758

Inconsistent synchronization in MetricsUserSourceImpl

    XMLWordPrintableJSON

Details

    Description

      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)
      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)
      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)
      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)
      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]

      Attachments

        Issue Links

          Activity

            People

              bbeaudreault Bryan Beaudreault
              bbeaudreault Bryan Beaudreault
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: