You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chiwan Park (JIRA)" <ji...@apache.org> on 2016/05/06 02:56:12 UTC

[jira] [Commented] (FLINK-3878) File cache doesn't support multiple duplicate temp directories

    [ https://issues.apache.org/jira/browse/FLINK-3878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15273559#comment-15273559 ] 

Chiwan Park commented on FLINK-3878:
------------------------------------

Hi Ken, thanks for reporting this issue and submitting a patch for this. Because Flink community uses Github pull requests to receive patches, could you open a pull request to Flink's github repository (https://github.com/apache/flink)?

If you don't want to do it, I'll merge your patch manually with your credit.

> File cache doesn't support multiple duplicate temp directories
> --------------------------------------------------------------
>
>                 Key: FLINK-3878
>                 URL: https://issues.apache.org/jira/browse/FLINK-3878
>             Project: Flink
>          Issue Type: Bug
>          Components: Distributed Runtime, Local Runtime
>    Affects Versions: 1.1.0, 1.0.2
>            Reporter: Ken Krugler
>         Attachments: FLINK-3878.patch
>
>
> Based on https://ci.apache.org/projects/flink/flink-docs-master/setup/config.html, you should be able to specify the same temp directory name multiple times. This works for some of the Flink infrastructure (e.g. the TaskManager's temp file directory), but not for FileCache.
> The problem is that the FileCache() constructor tries to use the same random directory name for each of the specified temp dir locations, so after the first directory is created, the second create fails.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)