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

Resource Localization fails due to leftover files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.9.0
    • None
    • nodemanager
    • None

    Description

      NM restart didn't clean up all user cache. The leftover files can cause resource localization failure.

      2016-06-14 23:09:12,717 WARN org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService: 
      java.io.IOException: Rename cannot overwrite non empty destination directory /data/5/yarn/nm/usercache/xxx/filecache/4567
              at org.apache.hadoop.fs.AbstractFileSystem.renameInternal(AbstractFileSystem.java:716)
              at org.apache.hadoop.fs.FilterFs.renameInternal(FilterFs.java:236)
              at org.apache.hadoop.fs.AbstractFileSystem.rename(AbstractFileSystem.java:659)
              at org.apache.hadoop.fs.FileContext.rename(FileContext.java:912)
              at org.apache.hadoop.yarn.util.FSDownload.call(FSDownload.java:364)
              at org.apache.hadoop.yarn.util.FSDownload.call(FSDownload.java:60)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yufeigu Yufei Gu
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: