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

Jan Høydahl commented on SOLR-11126:
------------------------------------

I tested it in my 7.5.0 with [http://localhost:8983/api/node/health] but it 
looks like it expects a core? Just returns:
{code:javascript}
{
  "error": {
    "metadata": [
      "error-class",
      "org.apache.solr.common.SolrException",
      "root-error-class",
      "org.apache.solr.common.SolrException"
    ],
    "msg": "no core retrieved for null",
    "code": 404
  }
}

2018-12-14 08:34:01.490 ERROR (qtp769429195-21) [   ] o.a.s.a.V2HttpCall Error 
in init()
org.apache.solr.common.SolrException: no core retrieved for null
        at org.apache.solr.api.V2HttpCall.init(V2HttpCall.java:141) 
[solr-core-7.5.0.jar:7.5.0 b5bf70b7e32d7ddd9742cc821d471c5fabd4e3df - jimczi - 
2018-09-18 13:07:55]
{code}

> Node-level health check handler
> -------------------------------
>
>                 Key: SOLR-11126
>                 URL: https://issues.apache.org/jira/browse/SOLR-11126
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Anshum Gupta
>            Assignee: Anshum Gupta
>            Priority: Major
>             Fix For: master (8.0)
>
>         Attachments: SOLR-11126-v2.patch, SOLR-11126.patch
>
>
> Solr used to have the PING handler at core level, but with SolrCloud, we are 
> missing a node level health check handler. It would be good to have. The API 
> would look like:
> * solr/admin/health (v1 API)
> * solr/node/health (v2 API)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to