You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by lc...@apache.org on 2017/11/17 22:29:48 UTC
[17/50] [abbrv] beam git commit: Fix classpath bundling issue caused
by Hive and its dependencies
Fix classpath bundling issue caused by Hive and its dependencies
Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/6bd364c9
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/6bd364c9
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/6bd364c9
Branch: refs/heads/master
Commit: 6bd364c993b24bb7a3c06d1c091dec6e350b6615
Parents: cd713b1
Author: Lukasz Cwik <lc...@google.com>
Authored: Sat Nov 4 09:16:01 2017 -0700
Committer: Luke Cwik <lc...@google.com>
Committed: Fri Nov 17 14:27:15 2017 -0800
----------------------------------------------------------------------
sdks/java/io/hcatalog/build.gradle | 8 ++++++++
1 file changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/beam/blob/6bd364c9/sdks/java/io/hcatalog/build.gradle
----------------------------------------------------------------------
diff --git a/sdks/java/io/hcatalog/build.gradle b/sdks/java/io/hcatalog/build.gradle
index 9e86bd3..c795df3 100644
--- a/sdks/java/io/hcatalog/build.gradle
+++ b/sdks/java/io/hcatalog/build.gradle
@@ -36,6 +36,14 @@ dependencies {
compile library.java.slf4j_api
compile library.java.guava
compile library.java.findbugs_jsr305
+ // Hive bundles without repackaging Jackson which is why we redeclare it here so that it appears
+ // on the compile/test/runtime classpath before Hive.
+ provided library.java.jackson_annotations
+ provided library.java.jackson_core
+ provided library.java.jackson_databind
+ // Calcite (a dependency of Hive) bundles without repackaging Guava which is why we redeclare it
+ // here so that it appears on the compile/test/runtime classpath before Calcite.
+ provided library.java.guava
provided library.java.hadoop_common
provided "org.apache.hive:hive-exec:$hive_version"
provided(group: "org.apache.hive.hcatalog", name: "hive-hcatalog-core", version: hive_version) {