From 7a68cddcef4236a644dfe10e9594723653b66b04 Mon Sep 17 00:00:00 2001 From: Kenneth Knowles Date: Fri, 16 Feb 2018 15:16:54 -0800 Subject: [PATCH] Explicitly exclude some troublesome optional deps from hadoop-input-format --- sdks/java/io/hadoop-input-format/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sdks/java/io/hadoop-input-format/build.gradle b/sdks/java/io/hadoop-input-format/build.gradle index ba4315c93160..7c2d8d60d9ce 100644 --- a/sdks/java/io/hadoop-input-format/build.gradle +++ b/sdks/java/io/hadoop-input-format/build.gradle @@ -61,6 +61,10 @@ dependencies { testCompile "io.netty:netty-transport-native-epoll:4.1.0.CR3" testCompile "org.elasticsearch:elasticsearch:$elastic_search_version" testCompile ("org.elasticsearch:elasticsearch-hadoop:$elastic_search_version") { + // TODO(https://issues.apache.org/jira/browse/BEAM-3715) + // These are all optional deps of elasticsearch-hadoop. Why do they have to be excluded? + exclude group: "cascading", module: "cascading-local" + exclude group: "org.apache.hive", module: "hive-service" exclude group: "org.apache.spark", module: "spark-core_2.10" exclude group: "org.apache.spark", module: "spark-streaming_2.10" exclude group: "org.apache.spark", module: "spark-sql_2.10"