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

Aggregated Logs root directory is created with wrong group if nonexistent

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      The directory /tmp/logs, where the aggregated logs go, is supposed to be read by JHS. But if it is not created beforehand, it will be created by NodeManager with the group being the superuser set in HDFS. Files created under this directory will then inherit the supergroup as their groups. This leads to JHS to fail to read the container logs files under that directory if JHS is not running as a user that belongs to superuser.

      Attachments

        1. yarn5001.003.patch
          4 kB
          Haibo Chen
        2. yarn5001.002.patch
          4 kB
          Haibo Chen
        3. yarn5001.001.patch
          4 kB
          Haibo Chen

        Activity

          People

            haibochen Haibo Chen
            haibochen Haibo Chen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: