samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chad Greenberg <>
Subject Jar conflicts after upgrading from 0.10.0 to 0.11.0
Date Tue, 14 Feb 2017 05:44:11 GMT
I received the following error after upgrading from 0.10.0 to 0.11.0. I understand the underlying
issue, but I am not finding the exact cause. No other jar contains ServletRegistration except
for avax.servlet-3.0.0.v201112011016.jar which is a dependency of samza-core. Hadoop has a
dependency on older servlet and jetty jars. Would love to upgrade everything, but many of
the transitive dependencies are quite old.

I have seen this error in the mailing list (triggered by an integration test), but there was
no resolve. Hoping someone has encountered and fixed this issue.

2017-02-13 21:29:33.397 [main] JobModelManager$ [INFO] Saving task-to-changelog partition
mapping: Map(Partition 0 -> 0)
Exception in thread "main" java.lang.SecurityException: class "javax.servlet.ServletRegistration$Dynamic"'s
signer information does not match signer information of other classes in the same package
    at java.lang.ClassLoader.checkCerts(
    at java.lang.ClassLoader.preDefineClass(
    at java.lang.ClassLoader.defineClass(
    at Method)
    at java.lang.ClassLoader.loadClass(
    at sun.misc.Launcher$AppClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    at org.apache.samza.coordinator.server.HttpServer$.$lessinit$greater$default$4(HttpServer.scala:63)
    at org.apache.samza.coordinator.JobModelManager$.getJobCoordinator(JobCoordinator.scala:128)
    at org.apache.samza.coordinator.JobModelManager$.apply(JobCoordinator.scala:109)
    at org.apache.samza.coordinator.JobModelManager$.apply(JobCoordinator.scala:115)
    at org.apache.samza.job.local.ThreadJobFactory.getJob(ThreadJobFactory.scala:40)
    at org.apache.samza.job.JobRunner$.main(JobRunner.scala:65)
    at org.apache.samza.job.JobRunner.main(JobRunner.scala)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message