You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/08/08 14:53:00 UTC
[jira] [Commented] (SOLR-9359) Listener added using Config API results in ClassCastException in the logs
[ https://issues.apache.org/jira/browse/SOLR-9359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17576834#comment-17576834 ]
ASF subversion and git services commented on SOLR-9359:
-------------------------------------------------------
Commit 3540e7cd3a83b093eaaf255e7e083c113274d479 in solr's branch refs/heads/main from Andy Webb
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=3540e7cd3a8 ]
SOLR-9359: Make Config API work for warming queries (#875)
Co-authored-by: Andy Webb <an...@gmail.com>
Co-authored-by: Eric Pugh <ep...@opensourceconnections.com>
> Listener added using Config API results in ClassCastException in the logs
> -------------------------------------------------------------------------
>
> Key: SOLR-9359
> URL: https://issues.apache.org/jira/browse/SOLR-9359
> Project: Solr
> Issue Type: Sub-task
> Components: config-api
> Affects Versions: 6.0.1
> Environment: SolrClound on Windows with ZooKeeper 3.4.8
> Reporter: Alex D
> Assignee: Eric Pugh
> Priority: Major
> Time Spent: 5h 50m
> Remaining Estimate: 0h
>
> Adding a listener using the Config API results in an exception in the logs even if the call to the API was successful.
> Command used to add the listener:
> curl -k -u admin:admin https://solrserver:8443/solr/customer/config -H 'Content-type:application/json' -d '{ "add-listener": {"event":"firstSearcher","class":"solr.QuerySenderListener","name":"f7fb2d87bea44464af2401cf33f42b69","queries":[{"q":"static firstSearcher warming in solrconfig.xml"}]} }'
> Result:
> {
> "responseHeader":{
> "status":0,
> "QTime":117},
> "WARNING":"This response format is experimental. It is likely to change in the future."}
> In the Admin UI Logging section I can see the following error:
> SolrCore null:java.lang.ClassCastException
> The log files does not provide additional information.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org