Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-11578

Fix performance issue of permission check in verifyAndCreateRemoteLogDir

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              tdomok Tamas Domok
              tdomok Tamas Domok
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: