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 2017/07/15 06:51:01 UTC

[jira] [Comment Edited] (YARN-4455) Support fetching metrics by time range

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

Varun Saxena edited comment on YARN-4455 at 7/15/17 6:50 AM:
-------------------------------------------------------------

That should not be very difficult. Retrieving time series i.e. specifying metricstimestart and metricstimeend for last 24 hours should be as simple as getting current time(which would be in milliseconds assuming JAVA client) and deducting 24*60*60*1000 from it. The granularity at the level of millis or seconds would not be required but it should not be too cumbersome to convert it to millis even if specific date ranges are specified. Infact current time since epoch is more easily available. 

Moreover, created time range is also specified in milliseconds and so were time ranges specified in ATSv1 APIs'.


was (Author: varun_saxena):
Retrievi

> Support fetching metrics by time range
> --------------------------------------
>
>                 Key: YARN-4455
>                 URL: https://issues.apache.org/jira/browse/YARN-4455
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>    Affects Versions: YARN-5355
>            Reporter: Varun Saxena
>            Assignee: Varun Saxena
>              Labels: YARN-5355, yarn-5355-merge-blocker
>         Attachments: YARN-4455-YARN-5355.01.patch, YARN-4455-YARN-5355.02.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org