[
https://issues.apache.org/jira/browse/AVRO-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17150220#comment-17150220
]
Ryan Skraba commented on AVRO-2875:
-----------------------------------
Thanks for reporting this! It looks like this is because avro-tools is now
being packaged with Hadoop 3 instead of Hadoop 2, which used to bring in
org.slf4j:slf4j-log4j12:jar:1.7.10 (and the StaticLoggerBinder). The right
solution is probably just to include org.slf4j:slf4j-simple:jar:1.7.30 !
This can _probably_ wait for 1.10.1, but should be fixed.
> avro-tools-1.10.0.jar missing slf4j binding
> -------------------------------------------
>
> Key: AVRO-2875
> URL: https://issues.apache.org/jira/browse/AVRO-2875
> Project: Apache Avro
> Issue Type: Bug
> Components: tools
> Affects Versions: 1.10.0
> Reporter: Dan Lipofsky
> Priority: Minor
> Fix For: 1.11.0, 1.10.1
>
>
> {{avro-tools-1.10.0.jar}} is missing a binding for {{slf4j}}.
> This is a regression because 1.9.2 looks good but 1.10.0 generates an error.
> The tool still works so this is minor, although I wonder if we won't miss
> useful log output under some conditions.
> {noformat}
> $ java -jar ../avro-tools-1.10.0.jar idl src/main/avro/foo.avdl
> /tmp/namespaces.avpr
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
> details.
> $ java -jar ../avro-tools-1.9.2.jar idl src/main/avro/foo.avdl
> /tmp/namespaces.avpr
> $
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)