apurtell opened a new pull request, #4468:
URL: https://github.com/apache/hbase/pull/4468

       [ERROR] 
org.apache.hadoop.hbase.master.normalizer.TestRegionNormalizerWorkQueue.testTake
  Time elapsed: 0.065 s  <<< 
       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)
   
   My impression after a quick read of the code is the separate locks `putLock` 
and `takeLock` should be unified as a reentrant read-write lock. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to