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

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

Github user shijinkui commented on the issue:

    https://github.com/apache/flink/pull/3190
  
    > The ´${project.build.directory}` is not automatically cleaned up. 
The/tmp` directory is natural to clean up.
    
    hi, Stephan, thank for your reply.
    
    When restarting os, tmp dir will be clean up automatically. And 
´${project.build.directory}/tmp` will be clean up when executing `mvn clean`.  
IMO, `${project.build.directory}` target dir can avoid multiple users building 
projects to share the same `/tmp` problem thoroughly. 
    
    In another word, I think project building's boundary is its target 
directory. Beyond target dir  should be not reasonable. Keep project building 
independent.
    
    In addition, correct all the temporary creating style with 
`TemporaryFolder` and add random dir prefix, that will modify more test file. 
Maybe we can resolve the `TemporaryFolder` problem in another thread.
    
    Thanks
    Happy New Year!


> 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
>    Affects Versions: 1.2.0, 1.3.0
>         Environment: CentOS 7.2
>            Reporter: Syinchwun Leo
>            Assignee: shijinkui
>
> 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)

Reply via email to