You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2020/02/23 17:31:00 UTC

[jira] [Closed] (FLINK-16229) testCompressionOnRelativePath() fails due to Files.createDirectory() in macOS

     [ https://issues.apache.org/jira/browse/FLINK-16229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler closed FLINK-16229.
------------------------------------
    Resolution: Duplicate

> testCompressionOnRelativePath() fails due to Files.createDirectory() in macOS
> -----------------------------------------------------------------------------
>
>                 Key: FLINK-16229
>                 URL: https://issues.apache.org/jira/browse/FLINK-16229
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Liu
>            Priority: Minor
>
>       I am using flink 1.10.0. In macOS, cd flink/flink-core  and execute "mvn -Dtest=org.apache.flink.util.FileUtilsTest#testCompressionOnRelativePath test". It reports the following error.
>       In linux, the test is ok. So I think that Files.createDirectory(relative path)  can not work well in mac. Should flink ignore this test or something better to do?
> java.nio.file.NoSuchFileException: ../../../../../var/folders/7h/3lhbyjl15m93hz9vpx303jvh0000gn/T/junit2476210278718567929/compressDir/rootDir
>  at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) at java.nio.file.Files.createDirectory(Files.java:674) at org.apache.flink.util.FileUtilsTest.verifyDirectoryCompression(FileUtilsTest.java:440) at org.apache.flink.util.FileUtilsTest.testCompressionOnRelativePath(FileUtilsTest.java:261)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)