Ishan Chattopadhyaya created SOLR-16768:
-------------------------------------------
Summary: Package manager's cluster level plugins support broken
Key: SOLR-16768
URL: https://issues.apache.org/jira/browse/SOLR-16768
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Affects Versions: 9.2
Reporter: Ishan Chattopadhyaya
Upon deploying a cluster level plugin using package manager, we see a failure:
{code}
ishan@x1extreme ~/code/solr-9.2.0 () $ bin/solr package deploy yasa -y -cluster
Executing
{"add":{"name":"yasa:yasa","class":"yasa:io.github.kezhenxu94.YasaHandler","version":"0.6.0","path-prefix":"yasa"}}
for path:/api/cluster/plugin
1 cluster level plugins setup.
Executing http://localhost:8983/api/cluster/zk/data/clusterprops.json for
cluster level plugin
org.apache.solr.common.SolrException: Error (code=404) fetching from URL:
http://localhost:8983/api/cluster/zk/data/clusterprops.json
at
org.apache.solr.packagemanager.PackageUtils.getJsonStringFromUrl(PackageUtils.java:150)
at
org.apache.solr.packagemanager.PackageManager.verify(PackageManager.java:789)
at
org.apache.solr.packagemanager.PackageManager.deployPackage(PackageManager.java:367)
at
org.apache.solr.packagemanager.PackageManager.deploy(PackageManager.java:964)
at org.apache.solr.util.PackageTool.runImpl(PackageTool.java:180)
at org.apache.solr.util.SolrCLI$ToolBase.runTool(SolrCLI.java:170)
at org.apache.solr.util.SolrCLI.main(SolrCLI.java:305)
ERROR: Error (code=404) fetching from URL:
http://localhost:8983/api/cluster/zk/data/clusterprops.json
{code}
Reason here is that the /api/cluster/zk endpoint has been removed in SOLR-16488
without any consideration for backward compatability.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]