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 54A9318476 for ; Tue, 11 Aug 2015 20:42:49 +0000 (UTC) Received: (qmail 28389 invoked by uid 500); 11 Aug 2015 20:42:46 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 28360 invoked by uid 500); 11 Aug 2015 20:42:46 -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 28337 invoked by uid 99); 11 Aug 2015 20:42:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Aug 2015 20:42:46 +0000 Date: Tue, 11 Aug 2015 20:42:46 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-12718) AMS is doing a (Select *) for certain point in time metrics from Dashboard page 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-12718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14682456#comment-14682456 ] Hudson commented on AMBARI-12718: --------------------------------- FAILURE: Integrated in Ambari-branch-2.1 #360 (See [https://builds.apache.org/job/Ambari-branch-2.1/360/]) AMBARI-12718 AMS is doing a (Select *) for certain point in time metrics from Dashboard page (additional patch) (dsen) (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=913968e37d3c6d6045d0e0522de7ae0442949925) * ambari-metrics/ambari-metrics-timelineservice/src/test/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/TestPhoenixTransactSQL.java * ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/query/PhoenixTransactSQL.java > AMS is doing a (Select *) for certain point in time metrics from Dashboard page > ------------------------------------------------------------------------------- > > Key: AMBARI-12718 > URL: https://issues.apache.org/jira/browse/AMBARI-12718 > Project: Ambari > Issue Type: Bug > Affects Versions: 2.1.0 > Reporter: Dmytro Sen > Assignee: Dmytro Sen > Priority: Blocker > Fix For: 2.1.1 > > Attachments: AMBARI-12718.patch > > > API calls for certain point in time metrics are fetching data for 1 day. > API: > {code} > http://hostname:6188/ws/v1/timeline/metrics?metricNames=dfs.FSNamesystem.MissingReplOneBlocks%2Cdfs.FSNamesystem.TransactionsSinceLastCheckpoint%2Cdfs.FSNamesystem.MillisSinceLastLoadedEdits%2Cdfs.FSNamesystem.SnapshottableDi rectories%2Cdfs.FSNamesystem.LastCheckpointTime%2Cdfs.FSNamesystem.TotalFiles%2Cmaster.Master.QueueCallTime_median%2Cdfs.FSNamesystem.ExpiredHeartbeats%2Cdfs.FSNamesystem.PostponedMisreplicatedBlocks%2Cdfs.FSNamesystem.LastWrittenTransactionId%2Cdfs.FSNamesystem.Snapshots%2Cjvm.JvmMetrics.MemHeapCommittedM%2Cdfs.FSNamesystem.TransactionsSinceLastLog Roll%2Cmaster.Server.averageLoad%2Cjvm.JvmMetrics.MemHeapUsedM%2Cdfs.FSNamesystem.PendingDataNodeMessageCount%2Cmaster.AssignmentManger.ritCount%2Cdfs.FSNamesystem.StaleDataNodes&hostname=namenode_hostnamel&appId=NAMENODE > {code} > Returned result on a cluster > 1 day old takes very long time. > The call should return 1 latest value for each metric vs all values. -- This message was sent by Atlassian JIRA (v6.3.4#6332)