hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Foley (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7885) fix datanode dir permission in hadoop-conf-setup.sh
Date Tue, 06 Dec 2011 18:35:40 GMT

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

Matt Foley commented on HADOOP-7885:
------------------------------------

+1 for code review.  lgtm.
                
> 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

        

Mime
View raw message