Bonjour Loïc, I don't thnk you can restore those blocks. If you have only one datanode and it doesn't have the missing blocks, there is no-where for hadoop to get those blocks back. So unfortunatly I don't think you can restore them.
Also, this is more hadoop than hbase related. You might want to move the discussion in the hadoop mailing list. JM 2013/4/30 Loic Talon <[email protected]> > Hi Jean-Marc, > Thanks. > > I have one datanode in my cluster. > The node isn't down. > > How can I restore those blocks ? > > > Loïc TALON > > > [email protected] <http://teads.tv/> > Video Ads Solutions > > > > 2013/4/30 Jean-Marc Spaggiari <[email protected]> > > > Hi Loïc, > > > > How many datanodes do you have on your cluster? Your replication factor > is > > set to 3 so I think you should have at least 3 datanodes? > > > > Is one of those nodes down? There is some blocks missing, they are maybe > on > > a system which is down now? Bringing it back on might restore those > blocks. > > > > JM > > > > 2013/4/30 Loic Talon <[email protected]> > > > > > Hi, > > > I have a problem with my namenode. > > > I work with a single node. > > > > > > If I run hdfs fsck /hbase then return : > > > Status: CORRUPT > > > Total size: 294139954971 B > > > Total dirs: 2429 > > > Total files: 4204 (Files currently being written: 75) > > > Total blocks (validated): 6164 (avg. block size 47719006 B) > > > ****************************** > > > ** > > > CORRUPT FILES: 63 > > > MISSING BLOCKS: 50 > > > MISSING SIZE: 3145209302 B > > > CORRUPT BLOCKS: 75 > > > ******************************** > > > Minimally replicated blocks: 6114 (99.188835 %) > > > Over-replicated blocks: 0 (0.0 %) > > > Under-replicated blocks: 6114 (99.188835 %) > > > Mis-replicated blocks: 0 (0.0 %) > > > Default replication factor: 3 > > > Average block replication: 0.9918884 > > > Corrupt blocks: 75 > > > Missing replicas: 12228 (66.12589 %) > > > Number of data-nodes: 1 > > > Number of racks: 1 > > > FSCK ended at Tue Apr 30 09:59:21 UTC 2013 in 273 milliseconds > > > > > > > > > The filesystem under path '/hbase' is CORRUPT > > > > > > How I can resolv this problem ? > > > I have try hbase namenode -recover but nothing. > > > > > > Thanks > > > > > > Loïc TALON > > > > > > > > > [email protected] <http://teads.tv/> > > > Video Ads Solutions > > > > > >
