[ 
https://issues.apache.org/jira/browse/SPARK-7009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15335572#comment-15335572
 ] 

vivek commented on SPARK-7009:
------------------------------

Still I am getting FATAL(PKG-008): ./NOID.epub/NOID.epub(-1,-1): Unable to read 
file
'invalid CEN header (bad signature) exception on : java -jar 
/opt/apache-tomcat-8.0.0/webapps/epubcheck4.0.1/epubcheck.jar NOID.epub

Java Version:

$ java -version
java version "1.7.0_101"OpenJDK Runtime Environment
(rhel-2.6.6.4.el6_8-x86_64 u101-b00)OpenJDK 64-Bit Server VM (build
24.95-b01, mixed mode)

ePubcheck Version:

$ /opt/apache-tomcat-8.0.0/webapps/epubcheck4.0.1/epubcheck.jar


ePub size is >2 GB and Zid Type 64+

> Build assembly JAR via ant to avoid zip64 problems
> --------------------------------------------------
>
>                 Key: SPARK-7009
>                 URL: https://issues.apache.org/jira/browse/SPARK-7009
>             Project: Spark
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 1.3.0
>         Environment: Java 7+
>            Reporter: Steve Loughran
>         Attachments: check_spark_python.sh
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> SPARK-1911 shows the problem that JDK7+ is using zip64 to build large JARs; a 
> format incompatible with Java and pyspark.
> Provided the total number of .class files+resources is <64K, ant can be used 
> to make the final JAR instead, perhaps by unzipping the maven-generated JAR 
> then rezipping it with zip64=never, before publishing the artifact via maven.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to