incubator-blur-commits mailing list archives

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


Fix minidfscluster path - use URI

Seems that ubuntu needs a uri to start the minidfscluster. Without this the cluster failed
to start, all tests pass with this.


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

Branch: refs/heads/lucene-4.0.0
Commit: 6d1749f07d9253bda711aaaa174651c9f2500165
Parents: c7a5722
Author: Patrick Hunt <phunt@apache.org>
Authored: Tue Oct 23 22:38:03 2012 -0700
Committer: Patrick Hunt <phunt@apache.org>
Committed: Tue Oct 23 22:38:03 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/6d1749f0/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 ae7fe02..9566df5 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.getAbsolutePath());
+    System.setProperty("test.build.data", path.toURI().toString());
     try {
       cluster = new MiniDFSCluster(conf, 1, true, (String[]) null);
       cluster.waitActive();


Mime
View raw message