You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/15 06:33:00 UTC

[jira] [Updated] (AMBARI-22637) Fix misuses of os.path.dirname(path) in yarn.py

     [ https://issues.apache.org/jira/browse/AMBARI-22637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated AMBARI-22637:
------------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-22637.001.patch
>
>
> As I written in AMBARI-22632, yarn.py wrongly sets 755 permission to '/ats/done' and '/ats/active' by default. This is because 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/', and 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
(v7.6.3#76005)