一键启动hadoop集群时出现问题
[hadoop@node01 bin]$ hadoop.sh start
Starting namenodes on [node01]
Starting datanodes
Starting secondary namenodes [node01]
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/zjy/install/hadoop-3.3.0/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/zjy/install/hbase/lib/slf4j-log4j12-1.7.5.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.slf4j.impl.Log4jLoggerFactory]
Starting resourcemanager
Starting nodemanagers
WARNING: Use of this script to start the MR JobHistory daemon is deprecated.
WARNING: Attempting to execute replacement "mapred --daemon start" instead.
其中出现的问题就是如下
发生了jar包冲突 决定删除其中的一个jar包
[hadoop@node01 bin]$ rm /zjy/install/hbase/lib/slf4j-log4j12-1.7.5.jar sz 1.7.5.jar
再启动hadoop集群,发现没有问题了!