Sangjin Lee commented on YARN-4178:

I think the only (minor) concern is if we did not store the prefix 
("application") today, and later YARN introduces the custom prefix. Then the 
timeline service would need to start storing the new prefix. Then at least we 
would need to be able to recognize and handle old records that do not store any 
prefix. I suspect that's doable, but am just clarifying the implication 
regarding the data schema.

> [storage implementation] app id as string in row keys can cause incorrect 
> ordering
> ----------------------------------------------------------------------------------
>                 Key: YARN-4178
>                 URL: https://issues.apache.org/jira/browse/YARN-4178
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>    Affects Versions: YARN-2928
>            Reporter: Sangjin Lee
>            Assignee: Varun Saxena
>         Attachments: YARN-4178-YARN-2928.01.patch
> Currently the app id is used in various places as part of row keys. However, 
> currently they are treated as strings. This will cause a problem with 
> ordering when the id portion of the app id rolls over to the next digit.
> For example, "app_1234567890_10000" will be considered *earlier* than 
> "app_1234567890_9999". We should correct this.

This message was sent by Atlassian JIRA

Reply via email to