-
Type:
Bug
-
Status: Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.8.0
-
Component/s: None
-
Labels:None
The following change in ACCUMULO-4357 causes accumulo init to prompt the user infinitely for an instance name:
@@ -575,7 +575,8 @@ public class Initialize implements KeywordExecutable { if (opts.clearInstanceName) { exists = false; break; - } else if (exists = zoo.exists(instanceNamePath)) { + } else if (zoo.exists(instanceNamePath)) { + exists = true; String decision = getConsoleReader().readLine("Instance name \"" + instanceName + "\" exists. Delete existing entry from zookeeper? [Y/N] : "); if (decision == null) System.exit(0);
- is broken by
-
ACCUMULO-4357 Remove redundant code
-
- Resolved
-