From bdd0d0d8a50f0b27e5b54cd8c88596b3cffbbd9f Mon Sep 17 00:00:00 2001 From: Suneet Saldanha <44787917+suneet-s@users.noreply.github.com> Date: Fri, 3 Jan 2020 21:11:13 -0500 Subject: [PATCH] Add avro dependency to parquet extension (#9124) * Add avro dependency to parquet extension If the parquet extension is loaded and an ingestionSpec uses the older format specifying a 'parser' instead of using an 'inputFormat' the job fails with the following error java.lang.TypeNotPresentException: Type org.apache.avro.generic.GenericRecord not present This change removes the exclusion of the avro package so that the missing class can be found. * Address review comments and add dependency version --- extensions-core/parquet-extensions/pom.xml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/extensions-core/parquet-extensions/pom.xml b/extensions-core/parquet-extensions/pom.xml index 6fa31976878..e3cd27df974 100644 --- a/extensions-core/parquet-extensions/pom.xml +++ b/extensions-core/parquet-extensions/pom.xml @@ -80,10 +80,6 @@ parquet-avro ${parquet.version} - - org.apache.avro - avro - commons-pool commons-pool @@ -145,10 +141,6 @@ aopalliance aopalliance - - org.apache.avro - avro - org.apache.commons commons-compress @@ -209,10 +201,6 @@ org.apache.yetus audience-annotations - - org.apache.avro - avro - commons-codec commons-codec @@ -414,7 +402,7 @@ org.apache.avro avro - provided + ${avro.version} junit