drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krystal (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (DRILL-5176) Rest API for stats.json gives HTTP 404 Not Found error
Date Thu, 05 Jan 2017 17:19:59 GMT

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

Krystal edited comment on DRILL-5176 at 1/5/17 5:19 PM:
--------------------------------------------------------

Thanks Arina for the clarification.  Marking jira as resolved.

Verified that rest api for cluster.json returned expected data.


was (Author: knguyen):
Thanks Arina for the clarification.  Marking jira as resolved.

> Rest API for stats.json gives HTTP 404 Not Found error 
> -------------------------------------------------------
>
>                 Key: DRILL-5176
>                 URL: https://issues.apache.org/jira/browse/DRILL-5176
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - HTTP
>    Affects Versions: 1.10.0
>            Reporter: Krystal
>
> commit id: bbcf4b765e6946a8b6c7110372c4e1cadbfefa44
> rest api for stats.json now returns "HTTP 404 Not Found" error.
> curl -X GET -i http://<ip>:8047/stats.json
> HTTP/1.1 500 Internal Server Error
> Content-Type: application/json
> Content-Length: 43
> Server: Jetty(9.1.5.v20140505)
> {
>   "errorMessage" : "HTTP 404 Not Found"
> }
> The following data is returned for the same rest api in previous drill version:
> curl -X GET -i http://<ip>:8047/stats.json
> HTTP/1.1 200 OK
> Content-Type: application/json
> Content-Length: 398
> Server: Jetty(9.1.5.v20140505)
> [ {
>   "name" : "Number of Drill Bits",
>   "value" : 1
> }, {
>   "name" : "Bit #0",
>   "value" : "abc.qa.lab initialized"
> }, {
>   "name" : "Data Port Address",
>   "value" : "abc.qa.lab:31012"
> }, {
>   "name" : "User Port Address",
>   "value" : "abc.qa.lab:31010"
> }, {
>   "name" : "Control Port Address",
>   "value" : "abc.qa.lab:31011"
> }, {
>   "name" : "Maximum Direct Memory",
>   "value" : 8589934592
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message