hadoop-common-issues mailing list archives

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

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

Andrew Purtell commented on HADOOP-7885:
----------------------------------------

Partial dup of HDFS-1560? (In the release notes on the issue "Upon startup, the datanode will
automatically change the permissions to match the configured value.")
                
> 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
>
> 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