From f993a918f3062202078a3e5f57843aeda7cdd08b Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Thu, 24 Sep 2015 13:01:19 -0700 Subject: [PATCH] PARQUET-369: Add shaded SLF4J NOP binding. This silences the complaint that no logger implementation could be found. No logger implementation was possible because the class that SLF4J was trying to load had been relocated. The only options are to relocate an implementation along with SLF4J or not shade SLF4J. This adds the NOP logger to silence the warning. --- pom.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 1d8c815ea..56d8ab14b 100644 --- a/pom.xml +++ b/pom.xml @@ -85,6 +85,7 @@ 1.6 1.6 + shaded.parquet @@ -141,6 +142,7 @@ org.apache.thrift:libthrift org.slf4j:slf4j-api + org.slf4j:slf4j-nop @@ -164,11 +166,11 @@ org.apache.thrift - parquet.org.apache.thrift + ${shade.prefix}.org.apache.thrift org.slf4j - parquet.org.slf4j + ${shade.prefix}.org.slf4j @@ -219,6 +221,11 @@ slf4j-api 1.7.2 + + org.slf4j + slf4j-nop + 1.7.2 + org.apache.thrift libthrift