You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Varun Saxena (JIRA)" <ji...@apache.org> on 2015/06/29 12:35:04 UTC

[jira] [Commented] (YARN-3862) Decide which contents to retrieve and send back in response in TimelineReader

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

Varun Saxena commented on YARN-3862:
------------------------------------

As HBase supports prefix match, we will initially go with that. Need to see if even regex needs to be supported.
For configs, most of our configs are sort of grouped together in a manner that prefix match will be useful. For instance all RM configs are start with {{yarn.resourcemanager}}, task configs start with {{mapreduce.task}} and so on.
For metrics though, there is no logical grouping based on metric name. Need to see if we need it or not.

> Decide which contents to retrieve and send back in response in TimelineReader
> -----------------------------------------------------------------------------
>
>                 Key: YARN-3862
>                 URL: https://issues.apache.org/jira/browse/YARN-3862
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>    Affects Versions: YARN-2928
>            Reporter: Varun Saxena
>            Assignee: Varun Saxena
>
> Currently, we will retrieve all the contents of the field if that field is specified in the query API. In case of configs and metrics, this can become a lot of data even though the user doesn't need it. So we need to provide a way to query only a set of configs or metrics.
> As a comma spearated list of configs/metrics to be returned will be quite cumbersome to specify, we have to support either of the following options :
> # Prefix match
> # Regex
> # Group the configs/metrics and query that group.
> We also need a facility to specify a metric time window to return metrics in a that window. This may be useful in plotting graphs 



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