tez-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "junbiao chen (Jira)" <j...@apache.org>
Subject [jira] [Created] (TEZ-4315) There is potential risk of ConcurrentModificationException when scheduling task for container
Date Thu, 24 Jun 2021 08:31:00 GMT
junbiao chen created TEZ-4315:
---------------------------------

             Summary: There is potential risk of ConcurrentModificationException when scheduling
task for container
                 Key: TEZ-4315
                 URL: https://issues.apache.org/jira/browse/TEZ-4315
             Project: Apache Tez
          Issue Type: Improvement
    Affects Versions: 0.10.0, 0.9.1
            Reporter: junbiao chen


When assigning task to container,YarnTaskSchedulerService need to traverse pending  cookieContainerRequests(stored
in LinkedHashSet) to select one that mathing the container. In the meantime, YarnTaskSchedulerService
will also remove the completed cookieContainerRequest from LinkedHashSet.This may cause ConcurrentModificationException,because  LinkedHashSet
is not thread-safe.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message