Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4401

Instance name prompt in Initialize infinite loops

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 1.8.0
    • 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

          Activity

            People

              elserj Josh Elser
              elserj Josh Elser
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m