Josh Rosen created SPARK-5039:
---------------------------------
Summary: Spark 1.0 2.0.0-mr1-cdh4.1.2 Maven build fails due to
"javax.servlet.FilterRegistration's signer information" errors
Key: SPARK-5039
URL: https://issues.apache.org/jira/browse/SPARK-5039
Project: Spark
Issue Type: Bug
Components: Build, Project Infra
Affects Versions: 1.0.2
Reporter: Josh Rosen
One of the four {{branch-1.0}} maven builds has been consistently failing due
to servlet class signing errors:
https://amplab.cs.berkeley.edu/jenkins/job/Spark-1.0-Maven-pre-YARN/
For example:
{code}
ContextCleanerSuite:
Exception encountered when invoking run on a nested suite - class
"javax.servlet.FilterRegistration"'s signer information does not match signer
information of other classes in the same package *** ABORTED ***
java.lang.SecurityException: class "javax.servlet.FilterRegistration"'s
signer information does not match signer information of other classes in the
same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:952)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:666)
at java.lang.ClassLoader.defineClass(ClassLoader.java:794)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
...
{code}
The fix for this issue is declaring proper exclusions for some implementations
of the servlet API. I know how to do this, but I don't have time to take care
of it now, so I'm tossing up this JIRA so facilitate work-stealing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]