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:22:32 UTC
svn commit: r1310053 - in /hbase/branches/0.92: CHANGES.txt
src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
Author: stack
Date: Thu Apr 5 20:22:31 2012
New Revision: 1310053
URL: http://svn.apache.org/viewvc?rev=1310053&view=rev
Log:
HBASE-5711 Tests are failing with incorrect data directory permissions.
Modified:
hbase/branches/0.92/CHANGES.txt
hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
Modified: hbase/branches/0.92/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/CHANGES.txt?rev=1310053&r1=1310052&r2=1310053&view=diff
==============================================================================
--- hbase/branches/0.92/CHANGES.txt (original)
+++ hbase/branches/0.92/CHANGES.txt Thu Apr 5 20:22:31 2012
@@ -26,6 +26,8 @@ Release 0.92.2 - Unreleased
HBASE-5213 "hbase master stop" does not bring down backup masters (Gregory)
HBASE-5606 SplitLogManger async delete node hangs log splitting when ZK connection is lost
(Prakash)
+ HBASE-5711 Tests are failing with incorrect data directory permissions
+ (Uma Maheswara Rao G)
IMPROVEMENTS
HBASE-5592 Make it easier to get a table from shell (Ben West)
Modified: hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java?rev=1310053&r1=1310052&r2=1310053&view=diff
==============================================================================
--- hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java (original)
+++ hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java Thu Apr 5 20:22:31 2012
@@ -323,6 +323,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);