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:
parent
de4f4aa9e4
commit
1f253c23fa
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue