[
https://issues.apache.org/jira/browse/HADOOP-7885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Giridharan Kesavan updated HADOOP-7885:
---------------------------------------
Attachment: HADOOP-7885.patch
attaching the right patch for trunk
> fix datanode dir permission in hadoop-conf-setup.sh
> ---------------------------------------------------
>
> Key: HADOOP-7885
> URL: https://issues.apache.org/jira/browse/HADOOP-7885
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0, 1.1.0
> Reporter: Giridharan Kesavan
> Assignee: Giridharan Kesavan
> Attachments: HADOOP-7728.patch, HADOOP-7885.PATCH, HADOOP-7885.patch
>
>
> datanode dir are created by the hadoop setup script and permission is set to
> 700 by default. When the dfs.datanode.data.dir.perm is set to a diff
> permission in the hdfs-site then the dn fails with the the following error;
> 2011-12-05 23:50:53,579 WARN org.apache.hadoop.hdfs.server.datanode.DataNode:
> Invalid directory in dfs.data.dir: Incorrect permission for
> /var/lib/hadoop/hdfs/datanode, expected: rwxr-x---, while actual: rwx------
> 2011-12-05 23:50:53,581 WARN org.apache.hadoop.hdfs.server.datanode.DataNode:
> Invalid directory in dfs.data.dir: Incorrect permission for
> /var/lib/hadoop/hdfs/datanode1, expected: rwxr-x---, while actual: rwx------
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira