Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E6B21200C02 for ; Thu, 5 Jan 2017 11:43:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E4325160B27; Thu, 5 Jan 2017 10:43:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 42DC0160B26 for ; Thu, 5 Jan 2017 11:43:59 +0100 (CET) Received: (qmail 53134 invoked by uid 500); 5 Jan 2017 10:43:58 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 53121 invoked by uid 99); 5 Jan 2017 10:43:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2017 10:43:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 61F222C03DC for ; Thu, 5 Jan 2017 10:43:58 +0000 (UTC) Date: Thu, 5 Jan 2017 10:43:58 +0000 (UTC) From: "Arina Ielchiieva (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-5176) Rest API for stats.json gives HTTP 404 Not Found error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 05 Jan 2017 10:44:00 -0000 [ https://issues.apache.org/jira/browse/DRILL-5176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15801030#comment-15801030 ] Arina Ielchiieva commented on DRILL-5176: ----------------------------------------- [~knguyen] DRILL-4604 introduced new index page design. /stats.json was renamed to /cluster.json as it's more logically correct considering the info it returns: {noformat} { "drillbits" : [ { "address" : "cv1.mapr.lab", "userPort" : "31010", "controlPort" : "31011", "dataPort" : "31012", "version" : "1.10.0-SNAPSHOT", "current" : true, "versionMatch" : true }, { "address" : "cv2.mapr.lab", "userPort" : "31010", "controlPort" : "31011", "dataPort" : "31012", "version" : "1.10.0-SNAPSHOT", "current" : false, "versionMatch" : true }, { "address" : "cv3.mapr.lab", "userPort" : "31010", "controlPort" : "31011", "dataPort" : "31012", "version" : "1.10.0-SNAPSHOT", "current" : false, "versionMatch" : true }, { "address" : "cv4.mapr.lab", "userPort" : "31010", "controlPort" : "31011", "dataPort" : "31012", "version" : "1.10.0-SNAPSHOT", "current" : false, "versionMatch" : true } ], "currentVersion" : "1.10.0-SNAPSHOT", "mismatchedVersions" : [ ] } {noformat} > 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://: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://: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)