Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
1.10.0
-
None
-
None
Description
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
}