ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14007) Fix precision issues in AMS.
Date Mon, 23 Nov 2015 07:13:11 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-14007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15021637#comment-15021637
] 

Hudson commented on AMBARI-14007:
---------------------------------

FAILURE: Integrated in Ambari-branch-2.1 #918 (See [https://builds.apache.org/job/Ambari-branch-2.1/918/])
AMBARI-14007. Fix precision issues in AMS. (Aravindan Vijayan via (swagle: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=718ca144160c69de921d1a577a597ec2999e8211])
* ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/MetricsPaddingMethod.java
* ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog213Test.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/query/PhoenixTransactSQL.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSPropertyProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/MetricsRequestHelper.java
* ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/webapp/TimelineWebServices.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSReportPropertyProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog213.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/timeline/cache/TimelineMetricCacheTest.java
* ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-site.xml
* ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/PrecisionLimitExceededException.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/cache/TimelineMetricCacheEntryFactory.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/timeline/MetricsRequestHelperTest.java
* ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/Precision.java


> Fix precision issues in AMS.
> ----------------------------
>
>                 Key: AMBARI-14007
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14007
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.1.2
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Critical
>             Fix For: 2.1.3
>
>         Attachments: AMBARI-14007.patch
>
>
> Problem
> The following error is seen in the ambari server log when different time periods are
selected in the Host page.
> 19 Nov 2015 22:27:50,476 ERROR [qtp-client-79] MetricsRequestHelper:96 - Error getting
timeline metrics : {"exception":"BadRequestException","message":"java.lang.Exception: Requested
precision (SECONDS) for given time range causes result set size of 15840, which exceeds the
limit - 11520. Please request higher precision.","javaClassName":"org.apache.hadoop.yarn.webapp.BadRequestException"}
> Bug
> The default metric service result limit of 11520 was not able to satisfy a couple of
specific cases of 22 host metrics requested for 2 hours in SECONDS precision.
> Fix
> Change default limit to15840. Covers all time periods of all metric charts in Ambari
web. Introduce a simple 1 time retry mechanism in Ambari server according to which the server
retries AMS with the same request with higher precision if a request fails due to PrecisionLimitExceededException.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message