From e217db56ab30ec9630411aefc16516747b3112e0 Mon Sep 17 00:00:00 2001 From: Vinoth Chandar Date: Tue, 17 Sep 2019 12:00:41 -0700 Subject: [PATCH] [HUDI-254]: Bundle and shade databricks/avro with spark bundle - spark 2.4 onwards, spark has built in support. shading to avoid conflicts - spark 2.3 still needs this bundled, so that dropping bundle into jars folder would work --- hudi-spark/pom.xml | 1 - packaging/hudi-spark-bundle/pom.xml | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/hudi-spark/pom.xml b/hudi-spark/pom.xml index eb86e75d7..2701ac481 100644 --- a/hudi-spark/pom.xml +++ b/hudi-spark/pom.xml @@ -216,7 +216,6 @@ com.databricks spark-avro_2.11 4.0.0 - provided diff --git a/packaging/hudi-spark-bundle/pom.xml b/packaging/hudi-spark-bundle/pom.xml index 153e69be0..e8ef20510 100644 --- a/packaging/hudi-spark-bundle/pom.xml +++ b/packaging/hudi-spark-bundle/pom.xml @@ -84,6 +84,8 @@ org.apache.hive:hive-service-rpc org.apache.hive:hive-metastore org.apache.hive:hive-jdbc + + com.databricks:spark-avro_2.11 @@ -127,6 +129,10 @@ org.apache.commons.codec. org.apache.hudi.org.apache.commons.codec. + + com.databricks. + org.apache.hudi.com.databricks. +