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

ASF GitHub Bot commented on FLINK-5546:
---------------------------------------

Github user shijinkui commented on the issue:

    https://github.com/apache/flink/pull/3190
  
    > Here is a related issue: https://issues.apache.org/jira/browse/FLINK-5817
    
    I sounds good. I want to change the default system property 
`java.io.tmpdir` to be in the `target` directory. This can resolve most of such 
temporary directory conflict problem.
    
    I only want to quickly fix such problem which block our production unit 
test, either this PR or FLINK-5817. Now we have to disable such module's unit 
test to avoid such error.
    
    In FLINK-5817, I think we can replace all the manually temporary directory 
creating with `TemporaryFolder`.


> java.io.tmpdir setted as project build directory in surefire plugin
> -------------------------------------------------------------------
>
>                 Key: FLINK-5546
>                 URL: https://issues.apache.org/jira/browse/FLINK-5546
>             Project: Flink
>          Issue Type: Test
>          Components: Build System
>         Environment: CentOS 7.2
>            Reporter: Syinchwun Leo
>            Assignee: shijinkui
>             Fix For: 1.2.1
>
>
> 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.15#6346)

Reply via email to