You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Congxian Qiu(klion26) (Jira)" <ji...@apache.org> on 2019/11/07 08:28:00 UTC
[jira] [Comment Edited] (FLINK-14433) Move generated Jaas conf file
from /tmp directory to Job specific directory
[ https://issues.apache.org/jira/browse/FLINK-14433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16969033#comment-16969033 ]
Congxian Qiu(klion26) edited comment on FLINK-14433 at 11/7/19 8:27 AM:
------------------------------------------------------------------------
Since you introduced/modified the {{JaasModule.java}}, what do you think about this issue? thanks. [~eronwright] [~greghogan] [~aljoscha]
was (Author: klion26):
Since you introduced/modified the {{JaasModule.java}}, what do you think about this issue? [~eronwright] [~greghogan] [~aljoscha]
> 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)
> 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)