hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Traiano Welcome <trai...@gmail.com>
Subject Hadoop 2.5 datanode error: IncorrectVersionException: Unexpected version of storage directory ... Reported: -57. Expecting = -55
Date Mon, 06 Oct 2014 18:28:56 GMT
Hi List


I have a hadoop  2.5 namenode communicating with a single datanode: When I
run start-hdfs.sh on the name node, I see the datanode process initially
start up on the node, then fail with the following exception:

---
2014-10-06 21:12:39,835 FATAL
org.apache.hadoop.hdfs.server.datanode.DataNode: Initialization failed for
Block pool <registering> (Datanode Uuid unassigned) service to
lol-dev-hdpnn.lol.local/172.16.104.121:9000. Exiting.
org.apache.hadoop.hdfs.server.common.IncorrectVersionException: Unexpected
version of storage directory /opt/hadoop/hdfs. Reported: -57. Expecting =
-55.
---


Some additional context around this error:



---

2014-10-06 21:12:39,142 INFO org.apache.hadoop.ipc.Server: IPC Server
Responder: starting
2014-10-06 21:12:39,143 INFO org.apache.hadoop.ipc.Server: IPC Server
listener on 50020: starting
2014-10-06 21:12:39,821 INFO org.apache.hadoop.hdfs.server.common.Storage:
Data-node version: -55 and name-node layout version: -57
2014-10-06 21:12:39,830 INFO org.apache.hadoop.hdfs.server.common.Storage:
Lock on /opt/hadoop/hdfs/in_use.lock acquired by nodename
6724@lol-dev-hdpdn.lol.local
2014-10-06 21:12:39,835 FATAL
org.apache.hadoop.hdfs.server.datanode.DataNode: Initialization failed for
Block pool <registering> (Datanode Uuid unassigned) service to
lol-dev-hdpnn.lol.local/172.16.104.121:9000. Exiting.
org.apache.hadoop.hdfs.server.common.IncorrectVersionException: Unexpected
version of storage directory /opt/hadoop/hdfs. Reported: -57. Expecting =
-55.
        at
org.apache.hadoop.hdfs.server.common.StorageInfo.setLayoutVersion(StorageInfo.java:178)
        at
org.apache.hadoop.hdfs.server.datanode.DataStorage.setFieldsFromProperties(DataStorage.java:362)
        at
org.apache.hadoop.hdfs.server.datanode.DataStorage.setFieldsFromProperties(DataStorage.java:354)
        at
org.apache.hadoop.hdfs.server.common.StorageInfo.readProperties(StorageInfo.java:228)
        at
org.apache.hadoop.hdfs.server.datanode.DataStorage.doTransition(DataStorage.java:457)
        at
org.apache.hadoop.hdfs.server.datanode.DataStorage.recoverTransitionRead(DataStorage.java:226)
        at
org.apache.hadoop.hdfs.server.datanode.DataStorage.recoverTransitionRead(DataStorage.java:254)
        at
org.apache.hadoop.hdfs.server.datanode.DataNode.initStorage(DataNode.java:975)
        at
org.apache.hadoop.hdfs.server.datanode.DataNode.initBlockPool(DataNode.java:946)
        at
org.apache.hadoop.hdfs.server.datanode.BPOfferService.verifyAndSetNamespaceInfo(BPOfferService.java:278)
        at
org.apache.hadoop.hdfs.server.datanode.BPServiceActor.connectToNNAndHandshake(BPServiceActor.java:220)
        at
org.apache.hadoop.hdfs.server.datanode.BPServiceActor.run(BPServiceActor.java:812)
        at java.lang.Thread.run(Thread.java:744)
2014-10-06 21:12:39,839 WARN
org.apache.hadoop.hdfs.server.datanode.DataNode: Ending block pool service
for: Block pool <registering> (Datanode Uuid unassigned) service to
lol-dev-hdpnn.lol.local/172.16.104.121:9000

---


Would someone be able to tell me if this is a configuration related error
or bug Hadoop 2.5 ?


I've attached the entire log dump from the datanode for further background
information.


Thanks in advance!

Traiano

Mime
View raw message