HBASE-5711 Tests are failing with incorrect data directory permissions.

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310050 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2012-04-05 20:20:55 +00:00
parent de4f4aa9e4
commit 1f253c23fa
1 changed files with 3 additions and 0 deletions

View File

@ -432,6 +432,9 @@ public class HBaseTestingUtility {
// It's also deprecated
System.setProperty("test.cache.data", this.clusterTestDir.toString());
// Set the permissions for dfs data directories
this.conf.set("dfs.datanode.data.dir.perm", "700");
// Ok, now we can start
this.dfsCluster = new MiniDFSCluster(0, this.conf, servers, true, true,
true, null, null, hosts, null);