You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/10/11 11:46:52 UTC

[GitHub] [hudi] codope commented on a diff in pull request #6898: [HUDI-4954] Shade avro in spark bundle

codope commented on code in PR #6898:
URL: https://github.com/apache/hudi/pull/6898#discussion_r992212503


##########
packaging/hudi-spark-bundle/pom.xml:
##########
@@ -95,6 +95,7 @@
                   <include>org.apache.httpcomponents:fluent-hc</include>
                   <include>org.antlr:stringtemplate</include>
                   <include>org.apache.parquet:parquet-avro</include>
+                  <include>org.apache.avro:avro</include>

Review Comment:
   Can you also shade Avro in other remaining bundles?



##########
packaging/hudi-spark-bundle/pom.xml:
##########
@@ -294,6 +295,10 @@
                   <shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.util.MetricSampleQuantiles
                   </shadedPattern>
                 </relocation>
+                <relocation>

Review Comment:
   If it is being shaded in spark bundle, then please ensure Avro is relocated in every other bundle, e.g. Hudi-hive-sync-bundle otherwise the two bundles (one with shaded Avro and another with unshaded Avro) will run into conflict.
   @nsivabalan Do you see any issues with relocating Avro in hudi-hive-sync-bundle?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org