hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18772) [JDK8] Replace AtomicLong with LongAdder
Date Thu, 14 Sep 2017 06:43:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-18772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16165827#comment-16165827
] 

Chia-Ping Tsai commented on HBASE-18772:
----------------------------------------

{code}
22:15:35 mvn -Dmaven.repo.local=/home/jenkins/yetus-m2/hbase-master-patch-0 -DHBasePatchProcess
-PrunAllTests -Dtest.exclude.pattern=**/master.assignment.TestMergeTableRegionsProcedure.java,**/client.TestBlockEvictionFromClient.java,**/procedure2.TestProcedureSchedulerConcurrency.java,**/master.assignment.TestAssignmentManager.java,**/master.balancer.TestFavoredStochasticLoadBalancer.java,**/ipc.TestSimpleRpcScheduler.java,**/regionserver.TestCompactionInDeadRegionServer.java,**/client.TestReplicasClient.java,**/regionserver.wal.TestAsyncLogRolling.java,**/regionserver.TestEncryptionKeyRotation.java,**/master.procedure.TestProcedureAdmin.java,**/client.TestSnapshotWithAcl.java,**/quotas.TestSnapshotQuotaObserverChore.java,**/master.TestCatalogJanitor.java,**/quotas.TestQuotaThrottle.java,**/security.access.TestAccessController.java,**/TestZooKeeper.java,**/master.TestRestartCluster.java,**/client.locking.TestEntityLocks.java,**/master.balancer.TestDefaultLoadBalancer.java,**/coprocessor.TestRegionObserverInterface.java,**/client.TestReplicaWithCluster.java,**/io.hfile.TestLruBlockCache.java,**/client.TestMetaWithReplicas.java,**/regionserver.TestSplitTransactionOnCluster.java,**/master.TestDistributedLogSplitting.java,**/client.TestMultiParallel.java,**/snapshot.TestFlushSnapshotFromClient.java,**/regionserver.TestHRegion.java,**/regionserver.TestFSErrorsExposed.java,**/master.cleaner.TestHFileCleaner.java
clean test -fae > /testptch/patchprocess/patch-unit-hbase-server.txt 2>&1
{code}
TestSimpleRpcScheduler was in the flaky list, so it is skipped. Sorry for ignoring it.

> [JDK8]  Replace AtomicLong with LongAdder
> -----------------------------------------
>
>                 Key: HBASE-18772
>                 URL: https://issues.apache.org/jira/browse/HBASE-18772
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-alpha-2
>            Reporter: Yechao Chen
>            Assignee: Yechao Chen
>            Priority: Trivial
>             Fix For: 2.0.0-beta-1
>
>         Attachments: HBASE-18772.master.patch, HBASE-18772.master-v2.patch, HBASE-18772.master-v3.patch,
HBASE-18772.master-v4.patch
>
>
> Currently we use many AtomicLong in HBase Region Code ,such as BucketCache calss realCacheSize,heapSize,blockNumber,accessCount
 and HRegion calss  compactionNumBytesCompacted etc .
> In JDK8 LongAdder  is faster than AtomicLong ,should use this replace  AtomicLong 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message