This is an automated email from the ASF dual-hosted git repository. srowen pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push: new 6783831 [SPARK-27179][BUILD] Exclude javax.ws.rs:jsr311-api from hadoop-client 6783831 is described below commit 6783831f6847e3ba4fa0582bf42e4edd19deab39 Author: Yuming Wang <yumw...@ebay.com> AuthorDate: Tue Mar 19 13:31:40 2019 -0400 [SPARK-27179][BUILD] Exclude javax.ws.rs:jsr311-api from hadoop-client ## What changes were proposed in this pull request? Since [YARN-7113](https://issues.apache.org/jira/browse/YARN-7113)(Hadoop-3.1.0), `hadoop-client` add `javax.ws.rs:jsr311-api` to its dependency. This conflict with [javax.ws.rs-api-2.0.1.jar](https://github.com/apache/spark/blob/f26a1f3d3766207595af6cb26d62d54218f5ac1d/dev/deps/spark-deps-hadoop-3.1#L105). ```shell build/sbt "core/testOnly *.UISeleniumSuite *.HistoryServerSuite" -Phadoop-3.2 ... [info] <pre> Server Error</pre></p><h3>Caused by:</h3><pre>java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map; ... ``` This pr exclude `javax.ws.rs:jsr311-api` from hadoop-client. ## How was this patch tested? manual tests: ```shell build/sbt "core/testOnly *.UISeleniumSuite *.HistoryServerSuite" -Phadoop-3.2 ``` Closes #24114 from wangyum/SPARK-27179. Authored-by: Yuming Wang <yumw...@ebay.com> Signed-off-by: Sean Owen <sean.o...@databricks.com> --- pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pom.xml b/pom.xml index 5ccef71..e2fadbd 100644 --- a/pom.xml +++ b/pom.xml @@ -946,6 +946,11 @@ <groupId>net.java.dev.jets3t</groupId> <artifactId>jets3t</artifactId> </exclusion> + <!-- Hadoop-3.2 --> + <exclusion> + <groupId>javax.ws.rs</groupId> + <artifactId>jsr311-api</artifactId> + </exclusion> </exclusions> </dependency> <dependency> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org