[
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: [email protected]
For additional commands, e-mail: [email protected]