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

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

GitHub user shijinkui opened a pull request:

    https://github.com/apache/flink/pull/3190

    [FLINK-5546][build] When multiple users run test, /tmp/cacheFile conf…

    Unit test will create file in java.io.tmpdir, default it's `/tmp` which has 
capacity limit.
    Create temporary in project target directory is reasonable, delete them as 
`mvn clean`
     
    - [X] General
      - The pull request references the related JIRA issue ("[FLINK-5546] When 
multiple users run test, /tmp/cacheFile conflicts")
      - The pull request addresses only one issue
      - Each commit in the PR has a meaningful commit message (including the 
JIRA id)
    
    - [X] Documentation
      - Documentation has been added for new functionality
      - Old documentation affected by the pull request has been updated
      - JavaDoc for public methods has been added
    
    - [X] Tests & Build
      - Functionality added by the pull request is covered by tests
      - `mvn clean verify` has been executed successfully locally or a Travis 
build has passed


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/shijinkui/flink FLINK-5546-tmp

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/3190.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3190
    
----
commit 3ec804a5f1de61f00ac49b1d4ed0ef005123daae
Author: shijinkui <shijin...@huawei.com>
Date:   2017-01-23T07:37:44Z

    [FLINK-5546][build] When multiple users run test, /tmp/cacheFile conflicts

----


> 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
>            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