You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Eli Collins (Created) (JIRA)" <ji...@apache.org> on 2011/11/16 23:51:51 UTC

[jira] [Created] (HDFS-2556) HDFS tests fail on systems with umask 0002

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