Prabhu Joseph created YARN-9747:
-----------------------------------

             Summary: 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


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