hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1310050 - /hbase/trunk/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
Date Thu, 05 Apr 2012 20:20:55 GMT
Author: stack
Date: Thu Apr  5 20:20:55 2012
New Revision: 1310050

URL: http://svn.apache.org/viewvc?rev=1310050&view=rev
Log:
HBASE-5711 Tests are failing with incorrect data directory permissions.

Modified:
    hbase/trunk/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java

Modified: hbase/trunk/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java?rev=1310050&r1=1310049&r2=1310050&view=diff
==============================================================================
--- hbase/trunk/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java (original)
+++ hbase/trunk/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java Thu Apr  5
20:20:55 2012
@@ -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);



Mime
View raw message