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 6D276200B53 for ; Tue, 12 Jul 2016 22:27:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6BF25160A53; Tue, 12 Jul 2016 20:27:23 +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 BB8EA160A56 for ; Tue, 12 Jul 2016 22:27:22 +0200 (CEST) Received: (qmail 53652 invoked by uid 500); 12 Jul 2016 20:27:20 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 53419 invoked by uid 99); 12 Jul 2016 20:27:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2016 20:27:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9F46A2C02AF for ; Tue, 12 Jul 2016 20:27:20 +0000 (UTC) Date: Tue, 12 Jul 2016 20:27:20 +0000 (UTC) From: "Aravindan Vijayan (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-17615) AMS metrics GET API does not work for same metric with multiple aggregation functions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 12 Jul 2016 20:27:23 -0000 [ https://issues.apache.org/jira/browse/AMBARI-17615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aravindan Vijayan updated AMBARI-17615: --------------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) Pushed to trunk and branch-2.4 > AMS metrics GET API does not work for same metric with multiple aggregation functions > ------------------------------------------------------------------------------------- > > Key: AMBARI-17615 > URL: https://issues.apache.org/jira/browse/AMBARI-17615 > Project: Ambari > Issue Type: Bug > Components: ambari-metrics > Affects Versions: 2.4.0 > Reporter: Aravindan Vijayan > Assignee: Aravindan Vijayan > Priority: Critical > Fix For: 2.4.0 > > Attachments: AMBARI-17615-2.patch > > > AMS API which used to work in previous versions is now broken in 2.4.0 version > {noformat} > GET http://:6188/ws/v1/timeline/metrics?metricNames=bytes_in._min,bytes_in._max,bytes_in._sum,bytes_in._avg&appId=HOST&precision=hours&startTime=1466928000000&endTime=1467439200000&hostname= > failed. Status:400 > { > "exception": "BadRequestException", > "message": "java.lang.Exception: Multiple aggregate functions not supported.", > "javaClassName": "org.apache.hadoop.yarn.webapp.BadRequestException" > } > {noformat} > This impacts SmartSense capture -- This message was sent by Atlassian JIRA (v6.3.4#6332)