ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aravindan Vijayan (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AMBARI-17015) Negative values are shown for metrics in certain Ambari widgets.
Date Thu, 02 Jun 2016 17:32:59 GMT

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

Aravindan Vijayan edited comment on AMBARI-17015 at 6/2/16 5:32 PM:
--------------------------------------------------------------------

BUG
Since the widgets do not request rate metrics, there could be only be one place in the code
where it could get a negative value. 

Currently, in the 2 min window interpolation, we don't reject the negative interpolated values.

FIX
In the interpolation within the 2 minute window, we should sanitize negative values. That
is, if the interpolated value is less than 0, we should omit that. 



was (Author: avijayan):
BUG
Since the widgets do not request rate metrics, there could be only be one place in the code
where it could get a negative value. 

Currently, in the 2 min window interpolation, we don't reject the negative values.

FIX
In the interpolation within the 2 minute window, we should sanitize negative values. That
is, if the interpolated value is less than 0, we should omit that. 


> Negative values are shown for metrics in certain Ambari widgets.
> ----------------------------------------------------------------
>
>                 Key: AMBARI-17015
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17015
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17015.patch
>
>
> Negative values are shown for metrices. Discrepancies are found in below widgets :
> 1) Cluster Disk (For yarn service)
> 2) Network usage (Dashboard widget)



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

Mime
View raw message