Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-15447

To improve utilization of the `java.io.tmpdir` for YARN module

    XMLWordPrintableJSON

Details

    Description

      #Background

      Currently, when running Flink on Yarn, the "java.io.tmpdir" property is set to the default value, which is "/tmp".  

      Sometimes we ran into exceptions caused by a full "/tmp" directory, which would not be cleaned automatically after applications finished.

       

      #Goal

      quoted from: HADOOP-2735

      1) Tasks can utilize all disks when using tmp
      2) Any undeleted tmp files will be deleted by the tasktracker when task(job?) is done.

       

      #Suggestion

      I think we can set "java.io.tmpdir" to "{{PWD}}/tmp" directory, or something similar. "{{PWD}}" will be replaced with the true working directory of JM/TM by Yarn, which will be cleaned automatically.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              victor-wong jiasheng55
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m