You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Andrew Ash (JIRA)" <ji...@apache.org> on 2014/06/20 06:53:25 UTC

[jira] [Commented] (SPARK-1949) Servlet 2.5 vs 3.0 conflict in SBT build

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

Andrew Ash commented on SPARK-1949:
-----------------------------------

Sean's PR: https://github.com/apache/spark/pull/906

> Servlet 2.5 vs 3.0 conflict in SBT build
> ----------------------------------------
>
>                 Key: SPARK-1949
>                 URL: https://issues.apache.org/jira/browse/SPARK-1949
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.0.0
>            Reporter: Sean Owen
>            Priority: Minor
>
> [~kayousterhout] mentioned that:
> {quote}
> I had some trouble compiling an application (Shark) against Spark 1.0,
> where Shark had a runtime exception (at the bottom of this message) because
> it couldn't find the javax.servlet classes.  SBT seemed to have trouble
> downloading the servlet APIs that are dependencies of Jetty (used by the
> Spark web UI), so I had to manually add them to the application's build
> file:
> libraryDependencies += "org.mortbay.jetty" % "servlet-api" % "3.0.20100224"
> Not exactly sure why this happens but thought it might be useful in case
> others run into the same problem.
> {quote}
> This is a symptom of Servlet API conflict which we battled in the Maven build. The resolution is to nix Servlet 2.5 and odd old Jetty / Netty 3.x dependencies. It looks like the Hive part of the assembly in the SBT build doesn't exclude all these entirely.
> I'll open a suggested PR to band-aid the SBT build.



--
This message was sent by Atlassian JIRA
(v6.2#6252)