Congxian Qiu(klion26) created FLINK-14433:
---------------------------------------------

             Summary: Move generated Jaas conf file from /tmp directory to Job 
specific directory
                 Key: FLINK-14433
                 URL: https://issues.apache.org/jira/browse/FLINK-14433
             Project: Flink
          Issue Type: Improvement
          Components: API / DataStream
            Reporter: Congxian Qiu(klion26)
             Fix For: 1.10.0


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to