[
https://issues.apache.org/jira/browse/YARN-4053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14933492#comment-14933492
]
Varun Saxena commented on YARN-4053:
------------------------------------
I think we need to revive this JIRA and decide its scope.
I will be converting everything to longs as of now. And throw exceptions if its
a floating point or BigInteger value.
Other than that, we need to decide do we need to differentiate between
TIME_SERIES and SINGLE_VALUE , indicate to client if a particular metric is an
aggregated metric or not, etc.
The challenge though is that we cannot use cell tags for anything which needs
to be sent back to client as a Get/Scan cant get hold of tags on the client
side.
> Change the way metric values are stored in HBase Storage
> --------------------------------------------------------
>
> Key: YARN-4053
> URL: https://issues.apache.org/jira/browse/YARN-4053
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: timelineserver
> Affects Versions: YARN-2928
> Reporter: Varun Saxena
> Assignee: Varun Saxena
> Attachments: YARN-4053-YARN-2928.01.patch
>
>
> Currently HBase implementation uses GenericObjectMapper to convert and store
> values in backend HBase storage. This converts everything into a string
> representation(ASCII/UTF-8 encoded byte array).
> While this is fine in most cases, it does not quite serve our use case for
> metrics.
> So we need to decide how are we going to encode and decode metric values and
> store them in HBase.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)