hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Saxena (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (YARN-4455) Support fetching metrics by time range
Date Tue, 18 Jul 2017 07:55:00 GMT

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

Varun Saxena edited comment on YARN-4455 at 7/18/17 7:54 AM:
-------------------------------------------------------------

[~vrushalic], we do divide it by TS_MULTIPLIER while reading it back.

bq. I am wondering if this might be a concern for entity or application tables. When we multiply
the timestamp by TimestampGenerator#TS_MULTIPLIER , I am wondering if the timestamp meaning
is changing. Also if it will roll over and may not mean the right thing.
bq. For example, if the metrics data was written with timestamp of today at 3pm, the multiplier
will move it to another timestamp.
Refer to ColumnHelper#readResultsWithTimestamps where we call TimestampGenerator#getTruncatedTimestamp
to divide the retrieved timestamp by 1000.


was (Author: varun_saxena):
[~vrushalic], we do divide it by TS_MULTIPLIER while reading it back.

bq. I am wondering if this might be a concern for entity or application tables. When we multiply
the timestamp by TimestampGenerator#TS_MULTIPLIER , I am wondering if the timestamp meaning
is changing. Also if it will roll over and may not mean the right thing.
For example, if the metrics data was written with timestamp of today at 3pm, the multiplier
will move it to another timestamp.
Refer to ColumnHelper#readResultsWithTimestamps where we call TimestampGenerator#getTruncatedTimestamp
to divide the retrieved timestamp by 1000.

> 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, YARN-4455-YARN-5355.03.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


Mime
View raw message