You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Prabhu Joseph (JIRA)" <ji...@apache.org> on 2019/08/14 06:10:00 UTC

[jira] [Created] (YARN-9747) Reduce additional namenode call by EntityGroupFSTimelineStore#cleanLogs

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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org