hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yufei Gu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7705) Create the container log directory with correct sticky bit in C code
Date Tue, 09 Jan 2018 19:34:00 GMT

    [ https://issues.apache.org/jira/browse/YARN-7705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16319013#comment-16319013
] 

Yufei Gu commented on YARN-7705:
--------------------------------

Patch v1 removes the dir creating in ContainerLocalizer, which is introduced by YARN-7363.
Instead, container executor (native code) creates the container dir. 

I've test the patch in a real cluster. It works as expected.

> Create the container log directory with correct sticky bit in C code
> --------------------------------------------------------------------
>
>                 Key: YARN-7705
>                 URL: https://issues.apache.org/jira/browse/YARN-7705
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 3.1.0
>            Reporter: Yufei Gu
>            Assignee: Yufei Gu
>         Attachments: YARN-7705.001.patch
>
>
> YARN-7363 created the container log directory in Java, which isn't able to set the correct
sticky bit because of Java language limitation. Wrong sticky bit of log directory causes failure
of reading log files inside the directory. To solve that, we need to do it in C code. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message