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

Arun C Murthy updated HADOOP-6566:
----------------------------------

    Attachment: HADOOP-6566_yhadoop20.patch

Patch for yhadoop-0.20, not for commit.

I've enhanced org.apache.hadoop.util.DiskChecker, which is already used by 
DataNode etc. for managing local disks, checking existence etc. to provide 
relevant functionality. Along the way, I had to enhance FsPermission to add a 
ctor from String to be used to make the permission configurable.

For hadoop-0.20 this is a single patch, for trunk we'll need to split it into 
changes to DiskChecker and DataNode as separate patches - they are on the way.

> Hadoop daemons should not start up if the ownership/permissions on the 
> directories used at runtime are misconfigured
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6566
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6566
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: security
>            Reporter: Devaraj Das
>            Assignee: Arun C Murthy
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6566_yhadoop20.patch
>
>
> The Hadoop daemons (like datanode, namenode) should refuse to start up if the 
> ownership/permissions on directories they use at runtime are misconfigured or 
> they are not as expected. For example, the local directory where the 
> filesystem image is stored should be owned by the user running the namenode 
> process and should be only readable by that user. We can provide this feature 
> in common and HDFS and MapReduce can use the same.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to