Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7608 Considering Java 8
  3. HBASE-7612

[JDK8] Replace use of high-scale-lib counters with intrinsic facilities

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: metrics
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      org.apache.hadoop.hbase.util.Counter is deprecated now and will be removed in 3.0. Use LongAdder instead.

      Description

      JEP155 introduces a few new classes (DoubleAccumulator, DoubleAdder, LongAccumulator, LongAdder) that "internally employ contention-reduction techniques that provide huge throughput improvements as compared to Atomic variables". There are applications of these where we are currently using Cliff Click's high-scale-lib and for metrics.

      See http://openjdk.java.net/jeps/155

        Attachments

        1. HBASE-7612-v1.patch
          60 kB
          Duo Zhang
        2. HBASE-7612.patch
          58 kB
          Duo Zhang

          Issue Links

            Activity

              People

              • Assignee:
                zhangduo Duo Zhang
                Reporter:
                apurtell Andrew Kyle Purtell
              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: