NIFI-9380 Exclude snappy-java used in parquet bundle and rely on snappy-java from Hadoop libs NAR

Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #5525
This commit is contained in:
Bryan Bende 2021-11-16 10:04:01 -05:00 committed by Matthew Burgess
parent f7466fd0f1
commit 15465bb4b8
No known key found for this signature in database
GPG Key ID: 05D3DEB8126DAD24
1 changed files with 9 additions and 0 deletions

View File

@ -63,10 +63,19 @@
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<!-- NOTE: parquet-avro 1.12.0 brings in snappy-java 1.1.8, but hadoop-libraries depends on an older version so we
have to exclude it here otherwise it creates incompatible class errors
-->
<dependency>
<groupId>org.apache.parquet</groupId>
<artifactId>parquet-avro</artifactId>
<version>1.12.0</version>
<exclusions>
<exclusion>
<groupId>org.xerial.snappy</groupId>
<artifactId>snappy-java</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>