Siddharth Seth created TEZ-2288:
-----------------------------------

             Summary: Remove unnecessary contention on locks by getDag, 
getTask, getVertex etc
                 Key: TEZ-2288
                 URL: https://issues.apache.org/jira/browse/TEZ-2288
             Project: Apache Tez
          Issue Type: Improvement
            Reporter: Siddharth Seth


There's a lot of unnecessary contention on the dag lock when trying to find a 
task or vertex. Likewise, there's likely contention on Vertex locks. A lot of 
this is avoidable. One simple fix would be to make the dag / vertex etc 
available in Tasks.
appContext.getCurrentDag doesn't seem to be thread safe either.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to