Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9747

Reduce additional namenode call by EntityGroupFSTimelineStore#cleanLogs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.0
    • Component/s: timelineserver
    • Labels:
      None

      Description

      EntityGroupFSTimelineStore#cleanLogs creates additional Namenode RPC call.

      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.
      

      cc Bibin A Chundatt

        Attachments

        1. YARN-9747-001.patch
          2 kB
          Prabhu Joseph

          Issue Links

            Activity

              People

              • Assignee:
                Prabhu Joseph Prabhu Joseph
                Reporter:
                Prabhu Joseph Prabhu Joseph
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: