Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4072

Error message is incorrect for linkconfig in ZkCLI

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.7, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      If you don't include both the collection and confname when doing a linkconfig, it shows you an incorrect error message stating that the CONFDIR is required for linkconfig. That should be changed to COLLECTION. The incorrect code is below.

      else if (line.getOptionValue(CMD).equals(LINKCONFIG)) {
      if (!line.hasOption(COLLECTION) || !line.hasOption(CONFNAME)) {
      System.out.println("-" + CONFDIR + " and -" + CONFNAME
      + " are required for " + LINKCONFIG);
      System.exit(1);
      }

        Attachments

        1. SOLR-4072.patch
          0.8 kB
          Vamsee Yarlagadda

          Activity

            People

            • Assignee:
              markrmiller@gmail.com Mark Miller
              Reporter:
              adampierce Adam Hahn
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified