0

I realized I mis-configured my Hadoop ecosystem. I need to format the namenode, but I don't want to lose all the data that I currently have in hdfs.

How do I format my namenode without losing everything in hdfs.

Thanks

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
  • Seems drastic... What do you mean "mis-configured"? Formatting the namenode will remove the block pointers, yes, but the datanodes hold the actual data. – OneCricketeer Oct 13 '16 at 20:37
  • i essentially had a situation like this: http://stackoverflow.com/questions/8076439/namenode-not-getting-started. However they keep talking about formating the namenode when this happens. If I do that I will lose the data in hdfs – user1893410 Oct 13 '16 at 20:43
  • What exactly did you change in the XML configs? How much data do you have in HDFS? – OneCricketeer Oct 13 '16 at 21:08
  • Do you wanna move the HDFS data to another cluster??? – karthik Oct 14 '16 at 04:22

0 Answers0