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 {