[
https://issues.apache.org/jira/browse/SPARK-6205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14350551#comment-14350551
]
Apache Spark commented on SPARK-6205:
-------------------------------------
User 'srowen' has created a pull request for this issue:
https://github.com/apache/spark/pull/4933
> UISeleniumSuite fails for Hadoop 2.x test with NoClassDefFoundError
> -------------------------------------------------------------------
>
> Key: SPARK-6205
> URL: https://issues.apache.org/jira/browse/SPARK-6205
> Project: Spark
> Issue Type: Bug
> Components: Tests
> Affects Versions: 1.3.0
> Reporter: Sean Owen
> Assignee: Sean Owen
> Priority: Minor
>
> {code}
> mvn -DskipTests -Pyarn -Phive -Phadoop-2.4 -Dhadoop.version=2.6.0 clean
> install
> mvn -Pyarn -Phive -Phadoop-2.4 -Dhadoop.version=2.6.0 test
> -DwildcardSuites=org.apache.spark.ui.UISeleniumSuite -Dtest=none -pl core/
> {code}
> will produce:
> {code}
> UISeleniumSuite:
> *** RUN ABORTED ***
> java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal
> ...
> {code}
> It doesn't seem to happen without the various profiles set above.
> The fix is simple, although sounds weird; Selenium's dependency on
> {{xml-apis:xml-apis}} must be manually included in core's test dependencies.
> This probably has something to do with Hadoop 2 vs 1 dependency changes and
> the fact that Maven test deps aren't transitive, AFAIK.
> PR coming...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]