[
https://issues.apache.org/jira/browse/HADOOP-4705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652675#action_12652675
]
Hemanth Yamijala commented on HADOOP-4705:
------------------------------------------
A few clarifications. The world writable permissions are provided only for the
root directory (hodring.tempdir) so that all users can create sub dirs under
them. The user's sub dir is only world readable, not writable. There is no
change to this due to the patch and has existed always. The history files being
world readable is not HOD's doing either. Hadoop standalone exhibits the same
behavior.
On investigation, we found that we weren't consciously setting the permissions
to be only user readable. The resource management system was doing this
automatically, and it was not clear that this was intended.
If being readable is not good, then the Chukwa team has to figure out how they
will access the data, and we can revert the patch. I will wait for comments
from the Chukwa team.
> [HOD] Grant read permissions for files/directories created by hod as part of
> provisioning hadoop clusters
> ---------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-4705
> URL: https://issues.apache.org/jira/browse/HADOOP-4705
> Project: Hadoop Core
> Issue Type: Improvement
> Components: contrib/hod
> Reporter: Hemanth Yamijala
> Assignee: Hemanth Yamijala
> Fix For: 0.20.0
>
> Attachments: hadoop-4705-1.txt, hadoop-4705-2.txt, hadoop-4705-3.txt,
> hadoop-4705.txt
>
>
> When HOD creates the log, work and temp directories for Hadoop, it creates
> them with permissions 0700. This is too restrictive for applications like
> Chukwa which need access to files in this directory for generating Hadoop
> metrics. This is a request to allow read permissions to other applications.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.