Li Lu commented on YARN-4234:

One more problem: Looking into the writer, I can see the writer maintains one 
file descriptor per app attempt:
private Map<ApplicationAttemptId, EntityLogFD> entityLogFDs;
While this is totally fine for summary logs, it will cause entities belong to 
different entity groups to be redirected to the wrong file.
Maybe we need to maintain a mapping between active entity groups (will there be 
too many?) to opened file descriptors? In this way we can find the right file 
to write for each entity group id. 

> New put APIs in TimelineClient for ats v1.5
> -------------------------------------------
>                 Key: YARN-4234
>                 URL: https://issues.apache.org/jira/browse/YARN-4234
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>         Attachments: YARN-4234-2015-11-13.1.patch, 
> YARN-4234-2015-11-16.1.patch, YARN-4234-20151111.2.patch, YARN-4234.1.patch, 
> YARN-4234.2.patch, YARN-4234.2015-11-12.1.patch, 
> YARN-4234.2015-11-12.1.patch, YARN-4234.20151109.patch, 
> YARN-4234.20151110.1.patch, YARN-4234.20151111.1.patch, YARN-4234.3.patch
> In this ticket, we will add new put APIs in timelineClient to let 
> clients/applications have the option to use ATS v1.5

This message was sent by Atlassian JIRA

Reply via email to