Jian He created YARN-7490:
-----------------------------

             Summary: ConcurrentModificationException in AMRMClient
                 Key: YARN-7490
                 URL: https://issues.apache.org/jira/browse/YARN-7490
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Jian He


It is observed that below exception occurred in service AM,  looks like the 
AMRMClientImpl -> ResourceRequestInfo -> containerRequests can be concurrently 
accessed without protection 

{code}
2017-11-13 19:48:10,487 [AMRM Callback Handler Thread] ERROR 
service.ServiceScheduler - Error in AMRMClient callback handler
java.util.ConcurrentModificationException
  at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:711)
  at java.util.LinkedHashMap$LinkedKeyIterator.next(LinkedHashMap.java:734)
  at java.util.AbstractCollection.addAll(AbstractCollection.java:343)
  at 
org.apache.hadoop.yarn.client.api.impl.AMRMClientImpl.getMatchingRequests(AMRMClientImpl.java:680)
  at 
org.apache.hadoop.yarn.client.api.async.AMRMClientAsync.getMatchingRequests(AMRMClientAsync.java:239)
  at 
org.apache.hadoop.yarn.service.ServiceScheduler$AMRMClientCallback.onContainersAllocated(ServiceScheduler.java:486)
  at 
org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl$CallbackHandlerThread.run(AMRMClientAsyncImpl.java:359)
{code}



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

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

Reply via email to