hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Uma Maheswara Rao G 72686 <mahesw...@huawei.com>
Subject Re: RE: java.io.IOException: Incorrect data format
Date Wed, 21 Sep 2011 04:30:14 GMT

Are you able to create the directory manually in the DataNode Machine?
#mkdirs /state/partition2/hadoop/dfs/tmp

Regards,
Uma
----- Original Message -----
From: "Peng, Wei" <Wei.Peng@xerox.com>
Date: Wednesday, September 21, 2011 9:44 am
Subject: RE: java.io.IOException: Incorrect data format
To: common-user@hadoop.apache.org

> I modified edits so that hadoop namenode is restarted, however, I 
> couldnot start my datanode. The datanode log shows
> 
> 2011-09-20 21:07:10,068 ERROR
> org.apache.hadoop.hdfs.server.datanode.DataNode: java.io.IOException:
> Mkdirs failed to create /state/partition2/hadoop/dfs/tmp
>        at
> org.apache.hadoop.hdfs.server.datanode.FSDataset$FSVolume.<init>(FSDatas
> et.java:394)
>        at
> org.apache.hadoop.hdfs.server.datanode.FSDataset.<init>(FSDataset.java:8
> 94)
>        at
> org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.j
> ava:318)
>        at
> org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:232
> )
>        at
> org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.ja
> va:1363)
>        at
> org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(Data
> Node.java:1318)
>        at
> org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.
> java:1326)
>        at
> org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:1448)
> Wei
> 
> -----Original Message-----
> From: Uma Maheswara Rao G 72686 [mailto:maheswara@huawei.com] 
> Sent: Tuesday, September 20, 2011 9:10 PM
> To: common-user@hadoop.apache.org
> Subject: Re: java.io.IOException: Incorrect data format
> 
> Can you check what is the value for command 'df -h'in NN machine.
> I think, one more possibility could be that while saving image 
> itself it
> would have been currupted.
> 
> To avoid such cases it has been already handled in trunk.For more
> details
> https://issues.apache.org/jira/browse/HDFS-1594
> 
> Regards,
> Uma
> ----- Original Message -----
> From: "Peng, Wei" <Wei.Peng@xerox.com>
> Date: Wednesday, September 21, 2011 9:01 am
> Subject: java.io.IOException: Incorrect data format
> To: common-user@hadoop.apache.org
> 
> > I was not able to restart my name server because I the name 
> server ran
> > out of space. Then I adjusted dfs.datanode.du.reserved to 0, and 
> used> tune2fs -m to get some space, but I still could not restart 
> the name
> > node. 
> > 
> > 
> > 
> > I got the following error:
> > 
> > java.io.IOException: Incorrect data format. logVersion is -18 but
> > writables.length is 0.
> > 
> > 
> > 
> > Anyone knows how to resolve this issue?
> > 
> > 
> > 
> > Best,
> > 
> > Wei
> > 
> > 
> > 
> > 
> 

Mime
View raw message