[ 
https://issues.apache.org/jira/browse/HADOOP-7885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163718#comment-13163718
 ] 

Arpit Gupta commented on HADOOP-7885:
-------------------------------------

built hadoop 1.0.0 with this patch and deployed a secure cluster with the above 
script and the cluster came up successfully. This script also exists in trunk 
and 23 so we should post the same patch for them as well.
                
> 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-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

        

Reply via email to