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

Prabhu Joseph commented on YARN-9747:
-------------------------------------

Thanks [~bibinchundatt].

> Reduce additional namenode call by EntityGroupFSTimelineStore#cleanLogs
> -----------------------------------------------------------------------
>
>                 Key: YARN-9747
>                 URL: https://issues.apache.org/jira/browse/YARN-9747
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: timelineserver
>    Affects Versions: 3.3.0
>            Reporter: Prabhu Joseph
>            Assignee: Prabhu Joseph
>            Priority: Major
>             Fix For: 3.3.0
>
>         Attachments: YARN-9747-001.patch
>
>
> EntityGroupFSTimelineStore#cleanLogs creates additional Namenode RPC call.
> {code}
> cleanLogs:
>  while (iter.hasNext()) {
>       FileStatus stat = iter.next();
>       Path clusterTimeStampPath = stat.getPath();
>       if (isValidClusterTimeStampDir(clusterTimeStampPath)) {
>         MutableBoolean appLogDirPresent = new MutableBoolean(false);
> { fs.getFileStatus(clusterTimeStampPath);}} in isValidClusterTimeStampDir* 
> creates additional Namenode RPC call.
> {code}
> cc [~bibinchundatt]



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to