You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2012/04/05 22:21:22 UTC
svn commit: r1310051 -
/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
Author: stack
Date: Thu Apr 5 20:21:22 2012
New Revision: 1310051
URL: http://svn.apache.org/viewvc?rev=1310051&view=rev
Log:
HBASE-5711 Tests are failing with incorrect data directory permissions.
Modified:
hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java?rev=1310051&r1=1310050&r2=1310051&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java (original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java Thu Apr 5 20:21:22 2012
@@ -425,6 +425,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);