You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Syinchwun Leo (JIRA)" <ji...@apache.org> on 2017/01/19 09:23:26 UTC

[jira] [Comment Edited] (FLINK-5546) When multiple users run test, /tmp/cacheFile conflicts

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

Syinchwun Leo edited comment on FLINK-5546 at 1/19/17 9:22 AM:
---------------------------------------------------------------

It seems that when runing TEST, the tmp file uses JVM's default tmp dir. When using maven, using -Djava.io.tmpdir=/path/to/tmpdir can reset the tmp fold. 


was (Author: syinchwunleo):
It seems that when run TEST, the tmp file uses JVM's default tmp dir. When using maven, using -Djava.io.tmpdir=/path/to/tmpdir can reset the tmp fold. 

> When multiple users run test, /tmp/cacheFile conflicts
> ------------------------------------------------------
>
>                 Key: FLINK-5546
>                 URL: https://issues.apache.org/jira/browse/FLINK-5546
>             Project: Flink
>          Issue Type: Test
>    Affects Versions: 1.2.0, 1.3.0
>         Environment: CentOS 7.2
>            Reporter: Syinchwun Leo
>
> When multiple Linux users run test at the same time, flink-runtime module may fail. User A creates /tmp/cacheFile, and User B will have no permission to visit the fold.  
> Failed tests: 
> FileCacheDeleteValidationTest.setup:79 Error initializing the test: /tmp/cacheFile (Permission denied)
> Tests in error: 
> IOManagerTest.channelEnumerator:54 ยป Runtime Could not create storage director...
> Tests run: 1385, Failures: 1, Errors: 1, Skipped: 8



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