Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-5039

Spark 1.0 2.0.0-mr1-cdh4.1.2 Maven build fails due to "javax.servlet.FilterRegistration's signer information" errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.2
    • 1.0.3
    • Build, Project Infra

    Description

      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:

      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)
        ...
      

      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.

      Attachments

        Activity

          People

            srowen Sean R. Owen
            joshrosen Josh Rosen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: