On 4/13/2016 10:15 AM, Iana Bondarska wrote:
> yes, it's solr_cloud, version is 4.8. Solrj version is 5.4.1.sorry, yes,
> there are no systeminforequest, I'm sending
> new GenericSolrRequest(SolrRequest.METHOD.GET, "/admin/info/system",
>             new MapSolrParams(ImmutableMap.of()))

Side note:  When running SolrCloud, you should not use a significantly
different SolrJ version.  Significantly different versions may not
communicate correctly -- especially when the *major* version is different.

SolrJ is generating the error you see, because you're using
CloudSolrClient and that client requires a collection, unless the
handler that you are accessing is one that works on the whole cluster,
such as /admin/collections.

Because the /admin/info/system request is node-specific, it doesn't make
sense to try to use it with CloudSolrClient -- you won't know which node
it's being sent to.  Use HttpSolrClient instead.  See this comment I
wrote on an issue in Jira, with a code example:

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

Thanks,
Shawn

Reply via email to