Liu created FLINK-16229:
---------------------------
Summary: 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
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() 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/junit761366460676035615/compressDir/rootDirjava.nio.file.NoSuchFileException: ../../../../../var/folders/7h/3lhbyjl15m93hz9vpx303jvh0000gn/T/junit761366460676035615/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:445) at org.apache.flink.util.FileUtilsTest.testCompressionOnRelativePath(FileUtilsTest.java:265)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)