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

Deprecation of zkcli.sh broke solr operator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 9.7
    • 9.8
    • scripts and tools
    • Security Level: Public (Default Security Level. Issues are Public)

    Description

      In SOLR-14115 we deprecated zkcli.sh. A deprecation echo was added to the script in 9.x and it was removed in 10.0.

      Turns out the deprecation message is always printed (stdout) thus breaking scripts that rely on capturing the output from the script when used with -cmd get.

      This can be fixed by echoing to stderr instead with

      >&2 echo "foo"
      

      Attachments

        Issue Links

          Activity

            People

              janhoy Jan Høydahl
              janhoy Jan Høydahl
              Votes:
              0 Vote for this issue
              Watchers:
              3 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