Tamas Domok created YARN-11578: ---------------------------------- Summary: Fix performance issue of permission check in verifyAndCreateRemoteLogDir Key: YARN-11578 URL: https://issues.apache.org/jira/browse/YARN-11578 Project: Hadoop YARN Issue Type: Bug Reporter: Tamas Domok Assignee: Tamas Domok
YARN-10901 introduced a check to avoid a warn message in NN logs in certain situations (when /tmp/logs is not owned by the yarn user), but it adds 3 NameNode calls (create, setpermission, delete) during log aggregation collection, for *every* NM. Meaning, when a YARN job completes, at the YARN log aggregation phase this check is done for every job, from every NodeManager. In 30 minutes 4.2 % of all the NameNode calls were due to this in a cluster. "write" calls need a Namesystem writeLock as well, so the impact is bigger. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org