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]

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-web-server的slf4j-log4j12-1.7.18.jar与apache-hive-2.3.4的log4j-slf4j-impl-2.6.2.jar存在SLF4J绑定冲突,导致Azkaban启动错误。解决办法是移除其中一个冲突的jar包。

被折叠的 条评论
为什么被折叠?



