You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Siddharth Wagle (JIRA)" <ji...@apache.org> on 2015/05/15 23:55:00 UTC

[jira] [Commented] (AMBARI-11184) AMS: Incorrect value obtained for a datapoint in the metric data series queried from AMS

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

Siddharth Wagle commented on AMBARI-11184:
------------------------------------------

*Results with the current patch*:
{code}
{
  "href" : "http://104.196.86.95:8080/api/v1/clusters/c1/services/ACCUMULO/components/ACCUMULO_TSERVER?fields=metrics/tserver/general/entries",
  "ServiceComponentInfo" : {
    "cluster_name" : "c1",
    "component_name" : "ACCUMULO_TSERVER",
    "service_name" : "ACCUMULO"
  },
  "metrics" : {
    "tserver" : {
      "general" : {
        "entries" : 25204.5
      }
    }
  }
}
{code}
{code}
{
  "href" : "http://104.196.86.95:8080/api/v1/clusters/c1/services/ACCUMULO/components/ACCUMULO_TSERVER?fields=metrics/tserver/general/entries._sum",
  "ServiceComponentInfo" : {
    "cluster_name" : "c1",
    "component_name" : "ACCUMULO_TSERVER",
    "service_name" : "ACCUMULO"
  },
  "metrics" : {
    "tserver" : {
      "general" : {
        "entries._sum" : 50479.0
      }
    }
  }
}
{code}


> AMS: Incorrect value obtained for a datapoint in the metric data series queried from AMS
> ----------------------------------------------------------------------------------------
>
>                 Key: AMBARI-11184
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11184
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.1.0
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>             Fix For: 2.1.0
>
>
> {code: title = API query}
> http://104.196.88.124:8080/api/v1/clusters/c1/services/YARN/components/RESOURCEMANAGER?fields=metrics/yarn/ClusterMetrics/NumActiveNMs._sum[1431372267,1431375867,15]&_=1431375867 
> {code}
> Above is an API to return series data for number of active nodemanagers in the asked time interval. Although the cluster has only 1 nodemanager installed, a specific datapoint had 2 as a value which is incorrect.
> *NOTE: Since there is only 1 nodemanager installed, the valid set of values at any time is \{0,1\}.* 



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