ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-22637) Fix misuses of os.path.dirname(path) in yarn.py
Date Tue, 12 Dec 2017 16:19:00 GMT
Akira Ajisaka created AMBARI-22637:
--------------------------------------

             Summary: Fix misuses of os.path.dirname(path) in yarn.py
                 Key: AMBARI-22637
                 URL: https://issues.apache.org/jira/browse/AMBARI-22637
             Project: Ambari
          Issue Type: Sub-task
          Components: ambari-server
            Reporter: Akira Ajisaka
            Assignee: Akira Ajisaka


As I written in AMBARI-22632, yarn.py wrongly sets 755 permission to '/ats/done' and '/ats/active'
by default. The default value of yarn.timeline-service.entity-group-fs-store.done-dir is '/ats/done/'
and the default value of yarn.timeline-service.entity-group-fs-store.active-dir is '/ats/active/'.
Both of the default value have trailing '/'. Next yarn.py sets 700 permission to the directories,
so finally the permissions become correct.
This issue causes redundant WebHDFS calls every time when launching ATS.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message