flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Chang <belliedmon...@gmail.com>
Subject Unknown I/O error while extracting contained jar files
Date Wed, 22 Feb 2017 17:08:00 GMT
when i executor  ./bin/flink run  -c  myMainClass  myjar.jar  i got the
following exception.

and it's work fine when i run unzip myjar.jar

why i  get this exception?

Thanks.


org.apache.flink.client.program.ProgramInvocationException: Unknown I/O
error while extracting contained jar files.

at
org.apache.flink.client.program.PackagedProgram.extractContainedLibraries(PackagedProgram.java:754)

at
org.apache.flink.client.program.PackagedProgram.<init>(PackagedProgram.java:193)

at org.apache.flink.client.CliFrontend.buildProgram(CliFrontend.java:890)

at org.apache.flink.client.CliFrontend.run(CliFrontend.java:228)

at
org.apache.flink.client.CliFrontend.parseParameters(CliFrontend.java:1073)

at org.apache.flink.client.CliFrontend$2.call(CliFrontend.java:1120)

at org.apache.flink.client.CliFrontend$2.call(CliFrontend.java:1117)

at
org.apache.flink.runtime.security.HadoopSecurityContext$1.run(HadoopSecurityContext.java:43)

at java.security.AccessController.doPrivileged(Native Method)

at javax.security.auth.Subject.doAs(Subject.java:422)

at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)

at
org.apache.flink.runtime.security.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:40)

at org.apache.flink.client.CliFrontend.main(CliFrontend.java:1116)

Caused by: java.util.zip.ZipException: error in opening zip file

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(ZipFile.java:219)

at java.util.zip.ZipFile.<init>(ZipFile.java:149)

at java.util.jar.JarFile.<init>(JarFile.java:166)

at java.util.jar.JarFile.<init>(JarFile.java:130)

at
org.apache.flink.client.program.PackagedProgram.extractContainedLibraries(PackagedProgram.java:672)

... 12 more

Mime
View raw message