Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7176A104FD for ; Thu, 19 Feb 2015 17:04:15 +0000 (UTC) Received: (qmail 98837 invoked by uid 500); 19 Feb 2015 17:04:12 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 98801 invoked by uid 500); 19 Feb 2015 17:04:12 -0000 Mailing-List: contact dev-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 dev@ambari.apache.org Received: (qmail 98789 invoked by uid 99); 19 Feb 2015 17:04:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2015 17:04:12 +0000 Date: Thu, 19 Feb 2015 17:04:12 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-9651) Add API level validation and error handling to AMS timeline service MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-9651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14327736#comment-14327736 ] Hudson commented on AMBARI-9651: -------------------------------- SUCCESS: Integrated in Ambari-view #9 (See [https://builds.apache.org/job/Ambari-view/9/]) Revert "AMBARI-9651 Add API level validation and error handling to AMS timeline service (dsen)" (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0fde880b8d4a0a8c659c1f9099f77ec0f08f252f) * ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/webapp/TimelineWebServices.java * ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/HBaseTimelineMetricStore.java * ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/service_check.py * ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixTransactSQL.java * ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java AMBARI-9651 Add API level validation and error handling to AMS timeline service (dsen) (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ca273f7a64e6076c867bdfdc73389a7d4f8100fb) * ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/HBaseTimelineMetricStore.java * ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/webapp/TimelineWebServices.java * ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java * ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixTransactSQL.java > Add API level validation and error handling to AMS timeline service > ------------------------------------------------------------------- > > Key: AMBARI-9651 > URL: https://issues.apache.org/jira/browse/AMBARI-9651 > Project: Ambari > Issue Type: Task > Components: ambari-metrics > Affects Versions: 2.0.0 > Reporter: Dmytro Sen > Assignee: Dmytro Sen > Fix For: 2.0.0 > > Attachments: AMBARI-9651.patch > > > *Details to be flushed out* > *Items*: > - Validation > -- Do not allow queries with missing METRIC_NAMES. > -- Verify the time range queries for precision table do not exceed row count limit, warn the user to query aggregate table > - Error handling > -- Return appropriate HTTP error codes for exceptions thrown by the AMS API. -- This message was sent by Atlassian JIRA (v6.3.4#6332)