Master encountered ConcurrentModificationException

Description

version:1.8.0

stack info:
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1437)
at java.util.HashMap$KeyIterator.next(HashMap.java:1461)
at java.util.AbstractCollection.toArray(AbstractCollection.java:141)
at java.util.ArrayList.<init>(ArrayList.java:177)
at alluxio.master.block.meta.MasterWorkerInfo.getToRemoveBlocks(MasterWorkerInfo.java:281)
at alluxio.master.block.DefaultBlockMaster.workerHeartbeat(DefaultBlockMaster.java:794)
at alluxio.master.block.BlockMasterWorkerServiceHandler.lambda$blockHeartbeat$0(BlockMasterWorkerServiceHandler.java:81)
at alluxio.RpcUtils.call(RpcUtils.java:119)
at alluxio.RpcUtils.call(RpcUtils.java:92)
at alluxio.master.block.BlockMasterWorkerServiceHandler.blockHeartbeat(BlockMasterWorkerServiceHandler.java:74)
at alluxio.thrift.BlockMasterWorkerService$Processor$blockHeartbeat.getResult(BlockMasterWorkerService.java:483)
at alluxio.thrift.BlockMasterWorkerService$Processor$blockHeartbeat.getResult(BlockMasterWorkerService.java:467)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
at org.apache.thrift.TMultiplexedProcessor.process(TMultiplexedProcessor.java:123)
at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)

Environment

None

Assignee

Gene Pang

Reporter

Sean

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure