简体   繁体   English

Hadoop CDH4错误:SLF4J:无法加载类“ org.slf4j.impl.StaticLoggerBinder”

[英]Hadoop CDH4 Error:SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”

I am using ubuntu 14.04. 我正在使用Ubuntu 14.04。 CDH4.7 I am installing as per the procedure given in the link below http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/latest/CDH4-Quick-Start/cdh4qs_topic_3_2.html The problem is I am not able to start the data node . CDH4.7我正在按照http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/latest/CDH4-Quick-Start/cdh4qs_topic_3_2.html下面链接中给出的过程进行安装我无法启动数据节点。 I am getting the error as 我收到错误信息

naveensrikanthd@ubuntu:/$ for x in `cd /etc/init.d ; ls hadoop-hdfs-*` ; do sudo service $x start ; done
[sudo] password for naveensrikanthd: 
 * Starting Hadoop datanode: 
starting datanode, logging to /var/log/hadoop-hdfs/hadoop-hdfs-datanode-ubuntu.out
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.
 * Starting Hadoop namenode: 
namenode running as process 15437. Stop it first.
 * Starting Hadoop secondarynamenode: 
secondarynamenode running as process 3061. Stop it first.
naveensrikanthd@ubuntu:/$ jps
7467 RunJar
8048 RunJar
18363 Jps

No Hadoop process is running and this three statements given above[slf4J] are shuffling between namenode,datanode: 没有Hadoop进程正在运行,并且上面给出的以下三个语句[slf4J]在namenode和datanode之间混排:

Below given is the log file for the path: /var/log/hadoop-hdfs/hadoop-hdfs-datanode-ubuntu.out SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 以下是路径的日志文件:/var/log/hadoop-hdfs/hadoop-hdfs-datanode-ubuntu.out SLF4J:无法加载类“ org.slf4j.impl.StaticLoggerBinder”。 SLF4J: Defaulting to no-operation (NOP) logger implementation ulimit -a for user hdfs SLF4J:用户hdfs缺省为无操作(NOP)记录器实现ulimit -a

What should I do to rid of this error anyone please help in crossing this error 我该怎么办才能消除此错误?有人请帮助解决此错误

The output shows that in fact the namenodes are already running. 输出显示实际上namenode已经在运行。 You should double-check where you think they are supposed to run and what your config says, because it's saying you already succeeded. 您应该仔细检查您认为它们应该在哪里运行以及您的配置说了什么,因为这表明您已经成功了。

The error from log4j has nothing to do with Hadoop functionality. log4j的错误与Hadoop功能无关。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SLF4J:无法加载类“ org.slf4j.impl.StaticLoggerBinder”。 Java应用程序错误 - SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”. Java Application Error 错误[STDERR] SLF4J:无法加载类“ org.slf4j.impl.StaticLoggerBinder” - ERROR [STDERR] SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder” Intellij IDEA SLF4J:无法加载类“ org.slf4j.impl.StaticLoggerBinder” - Intellij IDEA SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder” 带logback的SLF4J还是提示failed to load class "org.slf4j.impl.StaticLoggerBinder" - SLF4J with logback still prompt failed to load class "org.slf4j.impl.StaticLoggerBinder" 无法解决“ SLF4J:无法加载类“ org.slf4j.impl.StaticLoggerBinder””的问题 - Can't solve 'SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”' issue SLF4J:无法加载 class “org.slf4j.impl.StaticLoggerBinder” - SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" SLF4J:无法加载类“org.slf4j.impl.StaticLoggerBinder”IntelliJ 问题 - SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" IntelliJ issue SLF4J:无法加载类“org.slf4j.impl.StaticLoggerBinder”。 在运行JUnit测试时 - SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”. when running JUnit test SLF4J:无法加载类“ org.slf4j.impl.StaticLoggerBinder”的API - SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”, API SLF4J:无法加载类“org.slf4j.impl.StaticLoggerBinder”,没有任何帮助 - SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”, nothing helps
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM