avijayanhwx opened a new pull request #883: HDDS-1625 : 
ConcurrentModificationException when SCM has containers o…
URL: https://github.com/apache/hadoop/pull/883
 
 
   …f different owners.
   
   SCMBlockProtocolServer#allocateBlock throws ConcurrentModificationException 
when SCM has containers of different owners.
   
   `2019-05-31 13:53:16,808 WARN 
org.apache.hadoop.hdds.scm.container.SCMContainerManager: Container allocation 
failed for pipeline=Pipeline[ Id: 3e0eec4d-67d1-4582-a9e9-e68b0a340de6, Nodes: 
abaea3d2-a8c1-47de-8cdb-7cc5ed8f23a6{ip: 10.17.219.50, host: v
   c1340.halxg.cloudera.com, certSerialId: null}, Type:RATIS, Factor:ONE, 
State:OPEN] requiredSize=268435456 {}
   java.util.ConcurrentModificationException
           at 
java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1211)
           at java.util.TreeMap$KeyIterator.next(TreeMap.java:1265)
           at 
org.apache.hadoop.hdds.scm.container.SCMContainerManager.getContainersForOwner(SCMContainerManager.java:473)
           at 
org.apache.hadoop.hdds.scm.container.SCMContainerManager.getMatchingContainer(SCMContainerManager.java:394)
           at 
org.apache.hadoop.hdds.scm.block.BlockManagerImpl.allocateBlock(BlockManagerImpl.java:203)
           at 
org.apache.hadoop.hdds.scm.server.SCMBlockProtocolServer.allocateBlock(SCMBlockProtocolServer.java:172)`

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to