Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1CF39FA9 for ; Tue, 6 Dec 2011 18:36:03 +0000 (UTC) Received: (qmail 61319 invoked by uid 500); 6 Dec 2011 18:36:03 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 61285 invoked by uid 500); 6 Dec 2011 18:36:03 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 61248 invoked by uid 99); 6 Dec 2011 18:36:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2011 18:36:03 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2011 18:36:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 24A8A103876 for ; Tue, 6 Dec 2011 18:35:40 +0000 (UTC) Date: Tue, 6 Dec 2011 18:35:40 +0000 (UTC) From: "Matt Foley (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <364097053.46327.1323196540151.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1579340603.43674.1323133479250.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7885) fix datanode dir permission in hadoop-conf-setup.sh MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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