Ivan Mitic created HADOOP-9167:
----------------------------------

             Summary: TestBalancerWithNodeGroup fails on Windows
                 Key: HADOOP-9167
                 URL: https://issues.apache.org/jira/browse/HADOOP-9167
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 1-win
            Reporter: Ivan Mitic
            Assignee: Ivan Mitic


Test added with the support for "NetworkTopology with NodeGroup" fails on 
Windows. 

Relevant section from the test log:

2012-12-24 23:51:01,835 WARN  datanode.DataNode 
(DataNode.java:makeInstance(1582)) - Invalid directory in dfs.data.dir: 
Incorrect permission for 
I:/git/project/hadoop-monarch/build/test/data/dfs/data/data1, expected: 
rwxr-xr-x, while actual: rwx------
2012-12-24 23:51:01,911 WARN  datanode.DataNode 
(DataNode.java:makeInstance(1582)) - Invalid directory in dfs.data.dir: 
Incorrect permission for 
I:/git/project/hadoop-monarch/build/test/data/dfs/data/data2, expected: 
rwxr-xr-x, while actual: rwx------
2012-12-24 23:51:01,911 ERROR datanode.DataNode 
(DataNode.java:makeInstance(1588)) - All directories in dfs.data.dir are 
invalid.

Default permissions on Windows are 700 while datanode expects 755.

We already fixed this in MiniDFSCluster in branch-1-win. A similar fix is 
needed in MiniDFSClusterWithNodeGroup.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to