You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Peeyush Bishnoi (JIRA)" <ji...@apache.org> on 2008/11/21 13:16:44 UTC

[jira] Updated: (HADOOP-4705) [HOD] Grant read permissions for files/directories created by hod as part of provisioning hadoop clusters

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

Peeyush Bishnoi updated HADOOP-4705:
------------------------------------

    Attachment: hadoop-4705.txt

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
>         Attachments: 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.