[
https://issues.apache.org/jira/browse/HBASE-27064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17542711#comment-17542711
]
Andrew Kyle Purtell edited comment on HBASE-27064 at 5/26/22 10:52 PM:
-----------------------------------------------------------------------
RegionNormalizerWorkQueue comments include this:
{code}
* Assumes low-frequency and low-parallelism concurrent access, so protects
state using a simplistic
* synchronization strategy.
{code}
and so based on these results the implied claim that the synchronization
strategy is sufficient is not quite correct. [~ndimiduk] do you still recall
the context around this change?
was (Author: apurtell):
RegionNormalizerWorkQueue comments include this:
{code}
* Assumes low-frequency and low-parallelism concurrent access, so protects
state using a simplistic
* synchronization strategy.
{code}
and so based on these results the implied claim that the synchronization
strategy is sufficient is not correct.
> CME in TestRegionNormalizerWorkQueue
> ------------------------------------
>
> Key: HBASE-27064
> URL: https://issues.apache.org/jira/browse/HBASE-27064
> Project: HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 2.5.0
> Reporter: Andrew Kyle Purtell
> Priority: Minor
> Fix For: 2.5.0, 3.0.0-alpha-3
>
>
> FAILURE! - in
> org.apache.hadoop.hbase.master.normalizer.TestRegionNormalizerWorkQueue
> {noformat}
> [ERROR]
> org.apache.hadoop.hbase.master.normalizer.TestRegionNormalizerWorkQueue.testTake
> Time elapsed: 0.065 s <<< ERROR!
> java.util.concurrent.ExecutionException:
> java.util.ConcurrentModificationException
> at
> java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
> at
> java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1928)
> at
> org.apache.hadoop.hbase.master.normalizer.TestRegionNormalizerWorkQueue.testTake(TestRegionNormalizerWorkQueue.java:211)
> Caused by: java.util.ConcurrentModificationException
> at
> java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:719)
> at
> java.util.LinkedHashMap$LinkedKeyIterator.next(LinkedHashMap.java:742)
> at
> org.apache.hadoop.hbase.master.normalizer.RegionNormalizerWorkQueue.take(RegionNormalizerWorkQueue.java:192)
> at
> org.apache.hadoop.hbase.master.normalizer.TestRegionNormalizerWorkQueue.lambda$testTake$3(TestRegionNormalizerWorkQueue.java:192)
> at
> java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640)
> at
> java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1632)
> at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
> at
> java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
> at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
> at
> java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)