hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian He (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7490) ConcurrentModificationException in AMRMClient
Date Tue, 14 Nov 2017 04:13:00 GMT

    [ https://issues.apache.org/jira/browse/YARN-7490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250808#comment-16250808
] 

Jian He commented on YARN-7490:
-------------------------------

[~leftnoteasy], [~subru], [~asuresh]. 
should AMRMClient handle this internally ? 

> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message