Skip to content

Conversation

@srowen
Copy link
Member

@srowen srowen commented May 28, 2014

Kay Ousterhout mentioned that:

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.

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.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished. All automated tests passed.

@AmplabJenkins
Copy link

All automated tests passed.
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15255/

@pwendell
Copy link
Contributor

Kay's problem was with linking against the Spark poms that are published using Maven, so I don't see how a change in Spark's SBT build could help with that (?)

@srowen
Copy link
Member Author

srowen commented May 28, 2014

Bah, I could be way off here. I see what you're saying but had wondered if somehow the SBT output was being used given the mention of SBT.

Coincidentally perhaps then it appeared that the SBT output included conflicting versions of this API.

Let me look again to see how this might occur with Maven, but when I checked today its dependency graph only has a conflict in the examples module, which doesn't matter.

@pwendell
Copy link
Contributor

I just spoke with Kay, she was actually publishing locally with sbt rather than linking against the RC (which I though)... sorry, this could totally be relevant!

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15621/

@pwendell
Copy link
Contributor

Jenkins, retest this please.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15663/

@pwendell
Copy link
Contributor

Jenkins, test this please.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15685/

@srowen
Copy link
Member Author

srowen commented Jun 18, 2014

I think this is good to go. The initial test passed, but recent ones errored out. Just to double-check:
Jenkins, test this please.

@srowen
Copy link
Member Author

srowen commented Jun 18, 2014

Jenkins, test this please.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15873/

@pwendell
Copy link
Contributor

Jenkins, retest this please.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@ueshin
Copy link
Member

ueshin commented Jul 2, 2014

Hi, I encountered this kind of Servlet API conflict.
When are you planning to merge this? Or is there something to do?

@vanzin
Copy link
Contributor

vanzin commented Jul 2, 2014

See #1271. Sean, maybe close this PR?

@ueshin
Copy link
Member

ueshin commented Jul 2, 2014

Close this?
I encountered after the #1271 was merged.
I believe at least we need to exclude from Hive related dependencies.

@vanzin
Copy link
Contributor

vanzin commented Jul 2, 2014

Ah, ok. I though you just had missed that other PR.

@srowen
Copy link
Member Author

srowen commented Jul 2, 2014

Yeah @vanzin these are actually different changes. Incarnations of the same general issue. @pwendell if you have a moment to have a second look, I think this actually works now.

@pwendell
Copy link
Contributor

pwendell commented Jul 4, 2014

Jenkins, retest this please.

@AmplabJenkins
Copy link

Build triggered.

@AmplabJenkins
Copy link

Build started.

@AmplabJenkins
Copy link

Build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16339/

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16343/

@srowen
Copy link
Member Author

srowen commented Jul 8, 2014

Jenkins, retest this please.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16405/

…h of the same stuff that's excluded from Hadoop
@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished. All automated tests passed.

@AmplabJenkins
Copy link

All automated tests passed.
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16406/

@srowen
Copy link
Member Author

srowen commented Jul 13, 2014

Obsoleted by SBT build changes.

@srowen srowen closed this Jul 13, 2014
@srowen srowen deleted the SPARK-1949 branch July 13, 2014 17:08
agirish pushed a commit to HPEEzmeral/apache-spark that referenced this pull request May 5, 2022
MapR[SPARK-960] Update Hadoop in Spark-3.2.x
wangyum pushed a commit that referenced this pull request May 26, 2023
* [CARMEL-5854] Data Read DML concurrent conflict

* retry per each path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants