Hive 报错 Failed to load class "org.slf4j.impl.StaticLoggerBinder".

打开hive报错

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.

解决办法

根据信息,在http://www.slf4j.org/codes.html#StaticLoggerBinder 查看

下载 slf4j-nop.jar

slf4j-nop.jar放在${HADOOP_HOME}/share/hadoop/common/lib目录下即可

上一篇:4.0 slf4j和log4j


下一篇:SJF4J