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

Missing jstack warning is alarming, when using bin/solr as client interface to solr

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 8.7
    • 8.8
    • None
    • None

    Description

      In SOLR-14442 we added a warning if jstack wasn't found. I notice that I use the bin/solr command a lot as a client, so bin solr zk or bin solr healthcheck.

      For example:

      docker exec solr1 solr zk cp /security.json zk:security.json -z zoo1:2181

      All of these emit the message:

      The currently defined JAVA_HOME (/usr/local/openjdk-11) refers to a location
      where java was found but jstack was not found. Continuing.

      This is somewhat alarming, and then becomes annoying. Thoughts on maybe only conducting this check if you are running bin/solr start or one of the other commands that is actually starting Solr as a process?

      Attachments

        Issue Links

          Activity

            People

              epugh Eric Pugh
              epugh Eric Pugh
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 1h
                  1h