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

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.6.0
    • None
    • None
    • 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.v1.patch
          1 kB
          Siqi Li
        2. YARN-2755.v2.patch
          5 kB
          Siqi Li
        3. YARN-2755.v3.patch
          6 kB
          Siqi Li
        4. YARN-2755.v4.patch
          6 kB
          Siqi Li

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: