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

NM fails to clean up usercache_DEL_<timestamp> dirs after YARN-661

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When NM restarts frequently due to some reason, a large number of directories like these left in /data/disk$num/yarn/local/:
      /data/disk1/yarn/local/usercache_DEL_1414372756105
      /data/disk1/yarn/local/usercache_DEL_1413557901696
      /data/disk1/yarn/local/usercache_DEL_1413657004894
      /data/disk1/yarn/local/usercache_DEL_1413675321860
      /data/disk1/yarn/local/usercache_DEL_1414093167936
      /data/disk1/yarn/local/usercache_DEL_1413565841271
      These directories are empty, but take up 100M+ due to the number of them. There were 38714 on the machine I looked at per data disk.

      It appears to be a regression introduced by YARN-661

        Attachments

        1. YARN-2755.v4.patch
          6 kB
          Siqi Li
        2. YARN-2755.v3.patch
          6 kB
          Siqi Li
        3. YARN-2755.v2.patch
          5 kB
          Siqi Li
        4. YARN-2755.v1.patch
          1 kB
          Siqi Li

          Issue Links

            Activity

              People

              • Assignee:
                l201514 Siqi Li
                Reporter:
                l201514 Siqi Li
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: