accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject [1/2] git commit: ACCUMULO-2719 resolve paths to the file system to avoid getting resolve to the default fs
Date Thu, 17 Jul 2014 19:48:57 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master ff785d343 -> bb24ea72c


ACCUMULO-2719 resolve paths to the file system to avoid getting resolve to the default fs


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/b0e090ea
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/b0e090ea
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/b0e090ea

Branch: refs/heads/master
Commit: b0e090ea18de6f06d25f6c370855c5debaa9ff0c
Parents: 5681c40
Author: Eric C. Newton <eric.newton@gmail.com>
Authored: Thu Jul 17 15:46:17 2014 -0400
Committer: Eric C. Newton <eric.newton@gmail.com>
Committed: Thu Jul 17 15:46:17 2014 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/accumulo/core/volume/VolumeImpl.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/b0e090ea/core/src/main/java/org/apache/accumulo/core/volume/VolumeImpl.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/volume/VolumeImpl.java b/core/src/main/java/org/apache/accumulo/core/volume/VolumeImpl.java
index 2394063..9a324a0 100644
--- a/core/src/main/java/org/apache/accumulo/core/volume/VolumeImpl.java
+++ b/core/src/main/java/org/apache/accumulo/core/volume/VolumeImpl.java
@@ -64,7 +64,7 @@ public class VolumeImpl implements Volume {
 
   @Override
   public Path prefixChild(Path p) {
-    return new Path(basePath, p);
+    return fs.makeQualified(new Path(basePath, p));
   }
 
   @Override
@@ -99,7 +99,7 @@ public class VolumeImpl implements Volume {
 
   @Override
   public Path prefixChild(String p) {
-    return new Path(basePath, p);
+    return prefixChild(new Path(basePath, p));
   }
 
 }


Mime
View raw message