[ https://issues.apache.org/jira/browse/FLINK-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15168480#comment-15168480 ]
Paul Harris commented on FLINK-3501: ------------------------------------ This seems to be an OSX issue. I have tried with Oracle JDK7 u75, JDK7 u79 and JDK8 u84. There is more information here http://stackoverflow.com/questions/10522835/hadoop-java-io-ioexception-mkdirs-failed-to-create-some-path it relates to the jar containing a file META-INF/LICENSE and also a directory called META-INF/license. If I edit the archive with {code:none} zip -d flink-runtime-0.10.2-hadoop1.jar META_INF/license {code} then unjar with {code:none} jar xf flink-runtime-0.10.2-hadoop1.jar {code} everything works ok, but this means editing my gradle cache which is a bit of a pain. > flink-runtime-0.10.2-hadoop-1 jar problem > ----------------------------------------- > > Key: FLINK-3501 > URL: https://issues.apache.org/jira/browse/FLINK-3501 > Project: Flink > Issue Type: Bug > Components: Distributed Runtime > Affects Versions: 0.10.2 > Reporter: Paul Harris > > Unjaring flink-runtime-0.10.2-hadoop-1 results in an error. > Steps to reproduce > {code:none} > jar xf flink-runtime-0.10.2-hadoop1.jar > {code} > Result... > {code:none} > java.io.IOException: META-INF/license : could not create directory > at sun.tools.jar.Main.extractFile(Main.java:934) > at sun.tools.jar.Main.extract(Main.java:877) > at sun.tools.jar.Main.run(Main.java:263) > at sun.tools.jar.Main.main(Main.java:1177) > {code} > This is the result of the jar containing a file 'license' and a directory > license'. The file is unpacked first, preventing the directory being unpacked > to the same name. -- This message was sent by Atlassian JIRA (v6.3.4#6332)