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

Update the netty-3.x version in spark-assembly-*.jar

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Incomplete
    • Affects Version/s: 1.1.0
    • Fix Version/s: None
    • Component/s: Deploy
    • Labels:
      None

      Description

      It seems as if the version of akka-remote (2.2.3-shaded-protobuf) that is bundled in the spark-assembly-1.1.1-hadoop2.4.0.jar file pulls in an ancient version of netty, namely io.netty:netty:3.6.6.Final (using the package org.jboss.netty). This means that when using spark-submit, there will always be this netty version on the classpath before any versions added by the user. This may lead to issues with other packages that depend on newer versions and may fail with java.lang.NoSuchMethodError etc.(finagle-http in my case).

      I wonder if it possible to manually include a newer netty version, like netty-3.8.0.Final.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tgpfeiffer Tobias Pfeiffer
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: