Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-17633

yarn.nodemanager.remote-app-log-dir should be added stickybit.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk
    • trunk
    • ambari-server
    • None
    • CentOS7.2 Ambari2.4, HDP2.4

    Description

      When installing YARN+MapReduce2, I got a WARN message in nodemanager log(in Log Search View) like below

      2016-07-09 06:30:21,865 WARN logaggregation.LogAggregationService LogAggregationService.java:230 - Remote Root Log Dir [/app-logs] already exist, but with incorrect permissions. Expected: [rwxrwxrwt], Found: [rwxrwxrwx]. The cluster may have problems with multiple users. 
      

      I think the cause of this WARN is [this](https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py#L115).

      We should add stickybit to yarn.nodemanager.remote-app-log-dir.

      Attachments

        1. AMBARI-17633.2.patch
          2 kB
          Masahiro Tanaka
        2. AMBARI-17633.1.patch
          0.7 kB
          Masahiro Tanaka
        3. AMBARI-17633.patch
          0.7 kB
          Masahiro Tanaka

        Issue Links

          Activity

            People

              masatana Masahiro Tanaka
              masatana Masahiro Tanaka
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: