[ https://issues.apache.org/jira/browse/FLINK-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15168206#comment-15168206 ]
Paul Harris edited comment on FLINK-3501 at 2/26/16 1:20 AM: ------------------------------------------------------------- I am on a mac with {code:none} java -version java version "1.7.0_75" Java(TM) SE Runtime Environment (build 1.7.0_75-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode) {code} When I download the jar from Apache I can untar fine. When I pull via gradle from mvnrepository I have the issue. I am bringing in the following dependencies {code:none} 'org.apache.flink:flink-clients:0.10.2-hadoop1' 'org.apache.flink:flink-scala:0.10.2-hadoop1' {code} The file in the gradle cache is the one with the issue (I have deleted the cached files and allowed gradle to pull again) . This sounds more like a gradle-ism than a jar'ing problem. I think we can mark this as resolved. I'll re-open if I continue to have issues. was (Author: trickbooter): I am on a mac with {code:none} java -version java version "1.7.0_75" Java(TM) SE Runtime Environment (build 1.7.0_75-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode) {code} When I download the jar from Apache I can untar fine. When I pull via gradle from mvnrepository I have the issue. I am bringing in the following dependencies {code:none} 'org.apache.flink:flink-clients:0.10.2-hadoop1' 'org.apache.flink:flink-scala:0.10.2-hadoop1' {code} The file in the gradle cache is the one with the issue (I have deleted the cached files and allowed gradle to pull again) . I don't know much mvn packaging I am afraid, so I don't know if the folllowing is relevent, but... {code:none} cd /path/to/gradle/cache md5 flink-runtime-0.10.2-hadoop1.jar MD5 (flink-runtime-0.10.2-hadoop1.jar) = dc747ec3da5ddc8556aa707b3c5fc9a2 cd /path/to/mvn/direct/download MD5 (/Users/paul/dev/tmp/flink-core-0.10.2-hadoop1.jar) = 54a4c422a57baecb48d609e7187448d8 {code} This sounds more like a gradle-ism than a jar'ing problem. I think we can mark this as resolved. I'll re-open if I continue to have issues. > 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)