
[root@node4 bin]# hive --service metastore
2023-06-07 15:22:38: Starting Hive Metastore Server
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/hive237/lib/log4j-slf4j-impl-2.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/hadoop-2.10.1/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
在启动HiveMetastoreServer时,系统发现类路径中存在多个SLF4J绑定,包括log4j-slf4j-impl和slf4j-log4j12。这可能导致日志框架冲突。SLF4J警告用户查看官方文档以了解关于多个绑定的解释,并指出现实绑定为Log4jLoggerFactory。
2039





