配置好相应的配置文件,对应的环境变量后,出现以下错误
Class path contains multiple SLF4J bindings
[root@master bin]# bash start-hbase.sh
starting master, logging to /usr/local/src/hbase-0.98.24-hadoop1/logs/hbase-root-master-master.out
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/src/hbase-0.98.24-hadoop1/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/src/hadoop-1.2.1/lib/slf4j-log4j12-1.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
可以看出是因为这个SLF4J 的jar包在多个地方有不同的绑定
尝试把对应的 /usr/local/src/hbase-0.98.24-hadoop1/lib/slf4j-log4j12-1.6.4.jar 或者 /usr/local/src/hadoop-1.2.1/lib/slf4j-log4j12-1.4.3.jar 这两个文件都修改了,但是仍然不能启动。 现在未解决,继续后续学习