accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject [4/8] git commit: ACCUMULO-1573
Date Wed, 17 Jul 2013 15:34:09 GMT
ACCUMULO-1573


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

Branch: refs/heads/master
Commit: 122b1b13f0433c0b69693ad57713de048467dad3
Parents: 4453294
Author: Eric Newton <eric.newton@gmail.com>
Authored: Wed Jul 17 11:26:17 2013 -0400
Committer: Eric Newton <eric.newton@gmail.com>
Committed: Wed Jul 17 11:26:17 2013 -0400

----------------------------------------------------------------------
 .../java/org/apache/accumulo/server/util/RestoreZookeeper.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/122b1b13/server/src/main/java/org/apache/accumulo/server/util/RestoreZookeeper.java
----------------------------------------------------------------------
diff --git a/server/src/main/java/org/apache/accumulo/server/util/RestoreZookeeper.java b/server/src/main/java/org/apache/accumulo/server/util/RestoreZookeeper.java
index f80c098..bad0d8b 100644
--- a/server/src/main/java/org/apache/accumulo/server/util/RestoreZookeeper.java
+++ b/server/src/main/java/org/apache/accumulo/server/util/RestoreZookeeper.java
@@ -64,7 +64,10 @@ public class RestoreZookeeper {
         cwd.push(path);
       } else if ("dump".equals(name)) {
         String root = attributes.getValue("root");
-        cwd.push(root);
+        if (root.equals("/"))
+          cwd.push("");
+        else
+          cwd.push(root);
         create(root, "", "utf-8");
       }
     }


Mime
View raw message