[ https://issues.apache.org/jira/browse/FLINK-14433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16971643#comment-16971643 ]
Aljoscha Krettek edited comment on FLINK-14433 at 11/11/19 2:31 PM: -------------------------------------------------------------------- Sorry, I was on vacation. ☕But yes, this sounds reasonable to me. was (Author: aljoscha): Sorry, I was on vacation. ☕ > 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) > Assignee: Congxian Qiu(klion26) > Priority: Major > 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)