[
https://issues.apache.org/jira/browse/HADOOP-4705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649655#action_12649655
]
peeyushb edited comment on HADOOP-4705 at 12/1/08 3:25 AM:
------------------------------------------------------------------
HoD created temp directories are with permissions 0700 because pbsdsh process ,
whose umask(0077), launches hodring tasks on computes nodes , further this
launched hodring's creates the files/directories inside the temp-dir and
work-dirs on compute nodes with permission 0700.
As files/directories , inside temp-dir and work-dirs of HoD , having a
permission of 0700 , it is not feasible for application like Chukwa to have
access for files and directories inside this temp-dir for gathering hadoop
metrics.
So this patch will explicitly set the umask(0022) on hodring process so as to
create the files/directories inside temp-dir and work-dirs with permission 0755
.
---
was (Author: peeyushb):
HoD created temp directories are with permissions 0700 because pbsdsh
process , whose umask(0077), launches hodring tasks on computes nodes , further
this launched hodring's creates the temp-dir and work-dirs on compute nodes
with permission 0700.
As temp-dir and work-dirs having a permission of 0700 , it is not feasible for
application like Chukwa to have access for files and directories inside this
temp-dir for gathering hadoop metrics.
So this patch will explicitly set the umask(0022) on hodring process so as to
create the temp-dir and work-dirs with permission 0755 .
---
> [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.