hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmed Eldawy <aseld...@gmail.com>
Subject Error starting hadoop-2.2.0
Date Thu, 12 Dec 2013 07:52:34 GMT
Hi,
 I've been using Hadoop 1.x for a few months and it was working fine. Now,
I want to migrate to hadoop-2.x but I'm having troubles starting it. In
Hadoop 1.x, I used to configure core-site.xml and mapred-site.xml to be
able to start master and slave on one machine.
In hadoop-2.2.0, I followed the instructions on
http://hadoop.apache.org/docs/r2.2.0/hadoop-project-dist/hadoop-common/SingleCluster.html
Whenever I start yarn or HDFS I find this error in the logs
java.lang.NoSuchMethodError:
org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;
        at org.slf4j.impl.Log4jLoggerAdapter.info
(Log4jLoggerAdapter.java:345)
        at org.mortbay.log.Slf4jLog.info(Slf4jLog.java:67)
        at org.mortbay.log.Log.<clinit>(Log.java:79)
        at org.mortbay.component.Container.add(Container.java:200)
        at org.mortbay.component.Container.update(Container.java:164)
        at org.mortbay.component.Container.update(Container.java:106)
        at org.mortbay.jetty.Server.setConnectors(Server.java:160)
        at org.mortbay.jetty.Server.addConnector(Server.java:134)
        at org.apache.hadoop.http.HttpServer.<init>(HttpServer.java:241)
        at org.apache.hadoop.http.HttpServer.<init>(HttpServer.java:174)
        at
org.apache.hadoop.hdfs.server.datanode.DataNode.startInfoServer(DataNode.java:305)
        at
org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:664)
        at
org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:259)
        at
org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1727)
        at
org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1642)
        at
org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1665)
        at
org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:1837)
        at
org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:1858)
2013-12-12 10:20:12,541 INFO org.apache.hadoop.util.ExitUtil: Exiting with
status 1

Also there is a warning that seems to be related.
SLF4J: The requested version 1.6.99 by your slf4j binding is not compatible
with [1.5.5, 1.5.6]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further
details.

Any suggestions of how to fix it?


Best regards,
Ahmed Eldawy

Mime
View raw message