Skip to content

Conversation

@srowen
Copy link
Member

@srowen srowen commented Mar 6, 2015

Add xml-apis to core test deps to work aroudn UISeleniumSuite classpath issue

@SparkQA
Copy link

SparkQA commented Mar 6, 2015

Test build #28348 has started for PR 4933 at commit ddd4d32.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Mar 6, 2015

Test build #28348 has finished for PR 4933 at commit ddd4d32.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class BinaryClassificationMetrics(JavaModelWrapper):

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28348/
Test PASSed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So selenium depends on this but doesn't declare it?

Also, super minor, but the "scope" here is probably redundant.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does, but for some reason, the org.w3c class I mentioned doesn't turn up at runtime during the tests. It doesn't happen in a plain vanilla build, but does with the Hadoop 2-style build I ran. The class in question appears to only come from xml-apis.

This looks like the key difference in dependency:tree between the two:

192,193c333
< [INFO] |  |  |  +- xerces:xercesImpl:jar:2.11.0:test
< [INFO] |  |  |  |  \- xml-apis:xml-apis:jar:1.4.01:test
---
> [INFO] |  |  |  +- (xerces:xercesImpl:jar:2.11.0:test - omitted for conflict with 2.9.1)

(Hadoop 2 on the right / >) Looks like something trumps Xerces 2.11 in test scope, with 2.9.1, and that brings in a different xml-apis that doesn't work.

I specified tests in the parent to make sure we don't inadvertently manage non-test deps, and here for clarity.

@vanzin
Copy link
Contributor

vanzin commented Mar 6, 2015

Ok, thanks for the maven output, always helps clarify things. :-)

LGTM.

@asfgit asfgit closed this in f16b7b0 Mar 8, 2015
@srowen srowen deleted the SPARK-6205 branch March 11, 2015 13:30
asfgit pushed a commit that referenced this pull request Apr 6, 2015
…assDefFoundError

Add xml-apis to core test deps to work aroudn UISeleniumSuite classpath issue

Author: Sean Owen <[email protected]>

Closes #4933 from srowen/SPARK-6205 and squashes the following commits:

ddd4d32 [Sean Owen] Add xml-apis to core test deps to work aroudn UISeleniumSuite classpath issue
mtbrandy pushed a commit to ibmsoe/spark that referenced this pull request Apr 23, 2015
…assDefFoundError

Add xml-apis to core test deps to work aroudn UISeleniumSuite classpath issue

Author: Sean Owen <[email protected]>

Closes apache#4933 from srowen/SPARK-6205 and squashes the following commits:

ddd4d32 [Sean Owen] Add xml-apis to core test deps to work aroudn UISeleniumSuite classpath issue
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.

4 participants