Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-257 NM should gracefully handle a full local disk
  3. YARN-1799

Enhance LocalDirAllocator in NM to consider DiskMaxUtilization cutoff

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.0
    • None
    • nodemanager
    • None

    Description

      LocalDirAllocator provides paths for all tasks for its local write.
      This considers the good list of directories which are selected by the HealthCheck mechamnism in LocalDirsHandlerService

      getLocalPathForWrite() considers whether input demand "size" can meet the "capacity" in "lastAccessed" directory.
      If more tasks asks for path from LocalDirAllocator, then it is possible that the allocation is done based on the current disk availability at that given time.
      But this path would have earlier given to some other tasks to write and they may be sequentially doing writing.

      It is better to check for an upper cutoff for disk availability

      Attachments

        Activity

          People

            sunilg Sunil G
            sunilg Sunil G
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: