Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
Description
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);
Attachments
Issue Links
- is broken by
-
ACCUMULO-4357 Remove redundant code
- Resolved