You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2018/08/09 20:30:00 UTC
[jira] [Created] (SOLR-12653) Metrics History doesn't work when the
system collection is enabled
Varun Thacker created SOLR-12653:
------------------------------------
Summary: Metrics History doesn't work when the system collection is enabled
Key: SOLR-12653
URL: https://issues.apache.org/jira/browse/SOLR-12653
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Varun Thacker
I started Solr 7.4 and then created the system collection
After that a simple call like list ( [http://localhost:8983/solr/admin/metrics/history?action=list] ) does not work .
We get this error in the logs
{code:java}
th=/select params={q=*:*&_stateVer_=.system:4&fl=id,timestamp_l&fq=type:metrics_rrd&rows=500&wt=javabin&version=2} status=400 QTime=1
ERROR - 2018-08-09 19:44:10.524; [ ] org.apache.solr.client.solrj.impl.CloudSolrClient; Request to collection [.system] failed due to (400) org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://172.16.6.104:8983/solr/.system: undefined field type, retry? 0
ERROR - 2018-08-09 19:44:10.524; [ ] org.apache.solr.handler.RequestHandlerBase; org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://172.16.6.104:8983/solr/.system: undefined field type
at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:643)
at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:255)
at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:244)
at org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:483)
at org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:413)
at org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1106)
at org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:886)
at org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:819)
at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194)
at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:942)
at org.apache.solr.metrics.rrd.SolrRrdBackendFactory.list(SolrRrdBackendFactory.java:247)
at org.apache.solr.handler.admin.MetricsHistoryHandler.handleRequestBody(MetricsHistoryHandler.java:698)
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:199)
at org.apache.solr.servlet.HttpSolrCall.handleAdmin(HttpSolrCall.java:734)
at org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:715)
at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:496)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:377)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:323){code}
Looks like the system collection uses a hardcoded schema SystemCollectionSchema.xml which might be the issue?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org