incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ph...@apache.org
Subject git commit: Revert "Fix minidfscluster path - use URI"
Date Wed, 24 Oct 2012 06:20:16 GMT
Updated Branches:
  refs/heads/lucene-4.0.0 6d1749f07 -> 0db89b727


Revert "Fix minidfscluster path - use URI"

This reverts commit 6d1749f07d9253bda711aaaa174651c9f2500165.

Turns out this was not the issue - rather need to set umask to 022 - datanode was checking
filesystem permissions and they don't match expected without the umask set to 022.

See https://issues.apache.org/jira/browse/HDFS-2556


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/0db89b72
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/0db89b72
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/0db89b72

Branch: refs/heads/lucene-4.0.0
Commit: 0db89b7276f91eec5618e8d83ea9e50c7e4dda57
Parents: 6d1749f
Author: Patrick Hunt <phunt@apache.org>
Authored: Tue Oct 23 23:07:50 2012 -0700
Committer: Patrick Hunt <phunt@apache.org>
Committed: Tue Oct 23 23:19:42 2012 -0700

----------------------------------------------------------------------
 .../src/test/java/org/apache/blur/MiniCluster.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/0db89b72/src/blur-core/src/test/java/org/apache/blur/MiniCluster.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/test/java/org/apache/blur/MiniCluster.java b/src/blur-core/src/test/java/org/apache/blur/MiniCluster.java
index 9566df5..ae7fe02 100644
--- a/src/blur-core/src/test/java/org/apache/blur/MiniCluster.java
+++ b/src/blur-core/src/test/java/org/apache/blur/MiniCluster.java
@@ -425,7 +425,7 @@ public abstract class MiniCluster {
 
   public static void startDfs(Configuration conf, boolean format, String name) {
     File path = new File(TMPDIR, name);
-    System.setProperty("test.build.data", path.toURI().toString());
+    System.setProperty("test.build.data", path.getAbsolutePath());
     try {
       cluster = new MiniDFSCluster(conf, 1, true, (String[]) null);
       cluster.waitActive();


Mime
View raw message