tez-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh Balamohan (Jira)" <j...@apache.org>
Subject [jira] [Created] (TEZ-4147) Reduce NN calls in RecoveryService::handleRecoveryEvent
Date Wed, 15 Apr 2020 23:21:00 GMT
Rajesh Balamohan created TEZ-4147:
-------------------------------------

             Summary: Reduce NN calls in RecoveryService::handleRecoveryEvent
                 Key: TEZ-4147
                 URL: https://issues.apache.org/jira/browse/TEZ-4147
             Project: Apache Tez
          Issue Type: Improvement
            Reporter: Rajesh Balamohan


[https://github.com/apache/tez/blob/master/tez-dag/src/main/java/org/apache/tez/dag/history/recovery/RecoveryService.java#L459]

[https://github.com/apache/tez/blob/master/tez-dag/src/main/java/org/apache/tez/dag/history/recovery/RecoveryService.java#L467]

{{create(overwrite=false)}} already checks for file exists and throws relevant exception.
It should be possible to reduce {{recoveryDirFS.exists(dagFilePath)}} check to help in concurrent
job runs (e.g 50-100 AM trying to run very short jobs).



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

Mime
View raw message