[ 
https://issues.apache.org/jira/browse/SPARK-6205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen updated SPARK-6205:
-----------------------------
    Fix Version/s: 1.3.2

> 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
>             Fix For: 1.3.2, 1.4.0
>
>
> {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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to