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

Reduce additional namenode call by EntityGroupFSTimelineStore#cleanLogs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • timelineserver
    • 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 bibinchundatt

      Attachments

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

        Issue Links

          Activity

            People

              prabhujoseph Prabhu Joseph
              prabhujoseph Prabhu Joseph
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: