You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Oleksandr Diachenko (JIRA)" <ji...@apache.org> on 2013/09/26 11:52:02 UTC

[jira] [Created] (AMBARI-3347) Performance issue requesting metrics when dynamic metric name specified.

Oleksandr Diachenko created AMBARI-3347:
-------------------------------------------

             Summary: Performance issue requesting metrics when dynamic metric name specified.
                 Key: AMBARI-3347
                 URL: https://issues.apache.org/jira/browse/AMBARI-3347
             Project: Ambari
          Issue Type: Task
          Components: controller
    Affects Versions: 1.4.1
            Reporter: Oleksandr Diachenko
            Assignee: Oleksandr Diachenko
             Fix For: 1.4.1
         Attachments: AMBARI-3347.patch

When requesting metrics like ...

{code}
metrics/yarn/Queue/root/default/AvailableMB
{code}

... a request is generated to pull the metrics from the rrd files produced by Ganglia.  Currently the above request will result in the GangliaPropertyProvider making the following request to rrd.py for the metrics ...

{code}
/cgi-bin/rrd.py?c=HDPResourceManager&h=hostname
{code}

Note that this request does not ask for a specific metric like ...

{code}
m=yarn.QueueMetrics.Queue=root.default.AvailableMB
{code}

... which means that *all* of the metrics are returned.  This is obviously not ideal.
Request rrd should include a set of regular expressions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira