[ https://issues.apache.org/jira/browse/FLINK-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14574818#comment-14574818 ]
Chesnay Schepler commented on FLINK-2173: ----------------------------------------- also, in case anyone is interested in tackling this issue: it should only be relevant during plan construction; at runtime all paths are supplied by the java side in a safe manner. one potential way to fix this earlier: instead of using tempfile.gettempdir(), infer the proper tmp directory by checking the location of the plan file, since it should reside in the java tmp folder. > Python uses different tmp file than Flink > ----------------------------------------- > > Key: FLINK-2173 > URL: https://issues.apache.org/jira/browse/FLINK-2173 > Project: Flink > Issue Type: Bug > Components: Python API > Environment: Debian Linux > Reporter: Matthias J. Sax > Priority: Critical > > Flink gets the temp file path using System.getProperty("java.io.tmpdir") > while Python uses the "tempfile.gettempdir()" method. However, both can be > semantically different. > On my system Flink uses "/tmp" while Pyhton used "/tmp/users/1000" ("1000" is > my Linux user-id) > This issues leads (at least) to failing tests. -- This message was sent by Atlassian JIRA (v6.3.4#6332)