Vrushali C commented on YARN-3049:

bq. I'm worried that Bytes.toString() doesn't make the long integer be stored 
as the way we want. 
Yes, when we have a long value being stored, we need to store it as 
Bytes.toBytes(Long) not as a Bytes.toBytes(Long value as String). When it is 
stored as long, it will be stored sorted as per numerical sort. 

The same applies to row key. We need to ensure we store Long as 
Bytes.toBytes(Long) to ensure numerically sorted order. 

> [Storage Implementation] Implement storage reader interface to fetch raw data 
> from HBase backend
> ------------------------------------------------------------------------------------------------
>                 Key: YARN-3049
>                 URL: https://issues.apache.org/jira/browse/YARN-3049
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Sangjin Lee
>            Assignee: Zhijie Shen
>         Attachments: YARN-3049-WIP.1.patch, YARN-3049-WIP.2.patch, 
> YARN-3049-WIP.3.patch, YARN-3049-YARN-2928.2.patch, 
> YARN-3049-YARN-2928.3.patch, YARN-3049-YARN-2928.4.patch, 
> YARN-3049-YARN-2928.5.patch, YARN-3049-YARN-2928.6.patch, 
> YARN-3049-YARN-2928.7.patch
> Implement existing ATS queries with the new ATS reader design.

This message was sent by Atlassian JIRA

Reply via email to