You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Aravindan Vijayan (JIRA)" <ji...@apache.org> on 2016/06/02 17:30:59 UTC

[jira] [Commented] (AMBARI-17015) Negative values are shown for metrics in certain Ambari widgets.

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

Aravindan Vijayan commented on AMBARI-17015:
--------------------------------------------

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
>
>
> 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)