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

Move generated Jaas conf file from /tmp directory to Job specific directory

    XMLWordPrintableJSON

Details

    Description

      Currently, we’ll generate a jaas file under tmp directory[1], files generated the jobs which run on the same machine will all run into the same directory /tmp, this may be problematic because of the reasons:

      • Run out of inode for the disk which directory /tmp on
      • The performance of /tmp directory will affect the read/write performance of jaas file.

       

      So we propose to change place the jaas file under the CoreOptions.TMP_DIRS directory other than the /tmp directory.

       

      [1] https://github.com/apache/flink/blob/dbe1bfa31db4a561b6faa9c1235f02dc130825ca/flink-runtime/src/main/java/org/apache/flink/runtime/security/modules/JaasModule.java#L143

      Attachments

        Issue Links

          Activity

            People

              klion26 Congxian Qiu
              klion26 Congxian Qiu
              Votes:
              0 Vote for this issue
              Watchers:
              3 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