Skip to content

Commit

Permalink
fix(ingest): exclude ztsd from uber jar to prevent jni conflicts with…
Browse files Browse the repository at this point in the history
… spark (datahub-project#6787)

Co-authored-by: Tamas Nemeth <[email protected]>
  • Loading branch information
2 people authored and szalai1 committed Dec 22, 2022
1 parent 20a2509 commit 29599ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions metadata-integration/java/spark-lineage/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ shadowJar {
// https://github.com/johnrengelman/shadow/issues/729
exclude('module-info.class', 'META-INF/versions/**')

// prevent jni conflict with spark
exclude '**/libzstd-jni.*'
exclude '**/com_github_luben_zstd_*'

relocate 'com.fasterxml.jackson', 'datahub.shaded.jackson'
relocate 'org.slf4j','datahub.shaded.org.slf4j'
relocate 'org.apache.http','datahub.spark2.shaded.http'
Expand Down

0 comments on commit 29599ef

Please sign in to comment.