Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C5E0B934B for ; Wed, 16 Nov 2011 22:52:13 +0000 (UTC) Received: (qmail 48995 invoked by uid 500); 16 Nov 2011 22:52:13 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 48902 invoked by uid 500); 16 Nov 2011 22:52:13 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 48862 invoked by uid 99); 16 Nov 2011 22:52:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2011 22:52:13 +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; Wed, 16 Nov 2011 22:52:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E1C7D89C0A for ; Wed, 16 Nov 2011 22:51:51 +0000 (UTC) Date: Wed, 16 Nov 2011 22:51:51 +0000 (UTC) From: "Eli Collins (Created) (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: <1444233214.36597.1321483911959.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HDFS-2556) HDFS tests fail on systems with umask 0002 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 HDFS tests fail on systems with umask 0002 ------------------------------------------ Key: HDFS-2556 URL: https://issues.apache.org/jira/browse/HDFS-2556 Project: Hadoop HDFS Issue Type: Bug Components: data-node, test Affects Versions: 0.20.206.0 Reporter: Eli Collins Priority: Minor On systems with umask 0002 tests will fail due to all data dir directories being invalid: 2011-11-16 14:19:53,879 WARN datanode.DataNode (DataNode.java:makeInstance(1569)) - Invalid directory in dfs.data.dir: Incorrect permission for /data/2/eli/src/hadoop2/build/test/data/dfs/data/data1, expected: rwxr-xr-x, while actual: rwxrwxr-x 2011-11-16 14:19:53,893 WARN datanode.DataNode (DataNode.java:makeInstance(1569)) - Invalid directory in dfs.data.dir: Incorrect permission for /data/2/eli/src/hadoop2/build/test/data/dfs/data/data2, expected: rwxr-xr-x, while actual: rwxrwxr-x 2011-11-16 14:19:53,894 ERROR datanode.DataNode (DataNode.java:makeInstance(1575)) - All directories in dfs.data.dir are invalid. Aside from changing the umask backporting HDFS-1560 fixed this issue. -- 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