[ 
https://issues.apache.org/jira/browse/SOLR-15010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17262913#comment-17262913
 ] 

ASF subversion and git services commented on SOLR-15010:
--------------------------------------------------------

Commit 3e2fb59272f5b4d8106b3d8edf847f50bacd7a61 in lucene-solr's branch 
refs/heads/master from Eric Pugh
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=3e2fb59 ]

SOLR-15010 Try to use jattach for threaddump if jstack is missing (#2192)

* introduce jattach check if jstack is missing.  jattach ships in the Solr 
docker image instead of jstack.
* get the full path to the jattach command

Co-authored-by: Christine Poerschke <cpoersc...@apache.org>


> Missing jstack warning is alarming, when using bin/solr as client interface 
> to solr
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-15010
>                 URL: https://issues.apache.org/jira/browse/SOLR-15010
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 8.7
>            Reporter: David Eric Pugh
>            Assignee: David Eric Pugh
>            Priority: Minor
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to