Azkaban报错-SLF4J: Class path contains multiple SLF4J bindings

Issue

2019/05/09 21:50:04.061 +0800 ERROR [StdOutErrRedirect] [Azkaban] SLF4J: Class path contains multiple SLF4J bindings.
2019/05/09 21:50:04.061 +0800 ERROR [StdOutErrRedirect] [Azkaban] SLF4J: Found binding in [jar:file:/usr/local/azkaban/azkaban-web-server/lib/slf4j-log4j12-1.7.18.jar!/org/slf4j/impl/StaticLoggerBinder.class]
2019/05/09 21:50:04.061 +0800 ERROR [StdOutErrRedirect] [Azkaban] SLF4J: Found binding in [jar:file:/usr/local/hive/apache-hive-2.3.4/lib/log4j-slf4j-impl-2.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
2019/05/09 21:50:04.062 +0800 ERROR [StdOutErrRedirect] [Azkaban] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
2019/05/09 21:50:04.070 +0800 ERROR [StdOutErrRedirect] [Azkaban] SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]

Azkaban报错-SLF4J: Class path contains multiple SLF4J bindings_第1张图片

Answer

azkaban-web-server的lib文件夹下的slf4j-log4j12-1.7.18.jar包和apache-hive-2.3.4的lib文件夹下的log4j-slf4j-impl-2.6.2.jar包冲突

只需将其中一个jar包移除就可以

Azkaban报错-SLF4J: Class path contains multiple SLF4J bindings_第2张图片

你可能感兴趣的:(报错)