accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1471067 - /accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/util/CleanZookeeper.java
Date Tue, 23 Apr 2013 17:44:57 GMT
Author: ecn
Date: Tue Apr 23 17:44:57 2013
New Revision: 1471067

URL: http://svn.apache.org/r1471067
Log:
ACCUMULO-1333 prepend the user password with "accumulo:" so the user does not have to know
this convention

Modified:
    accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/util/CleanZookeeper.java

Modified: accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/util/CleanZookeeper.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/util/CleanZookeeper.java?rev=1471067&r1=1471066&r2=1471067&view=diff
==============================================================================
--- accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/util/CleanZookeeper.java
(original)
+++ accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/util/CleanZookeeper.java
Tue Apr 23 17:44:57 2013
@@ -53,7 +53,7 @@ public class CleanZookeeper {
     String root = Constants.ZROOT;
     IZooReaderWriter zk = ZooReaderWriter.getInstance();
     if (opts.auth != null) {
-      zk.getZooKeeper().addAuthInfo("digest", opts.auth.getBytes());
+      zk.getZooKeeper().addAuthInfo("digest", ("accumulo:"+opts.auth).getBytes());
     }
     
     try {



Mime
View raw message