Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

hdfs oiv -p ReverseXML -i fsimage.xml -o fsimage gives a 0 KB output file

Highlighted

hdfs oiv -p ReverseXML -i fsimage.xml -o fsimage gives a 0 KB output file

New Contributor

I am trying to manually edit fsimage file and trying to load it into namenode. I converted fsimage into xml file using hdfs oiv but i am unable to reconvert it back to fsimage. I tried

 

hdfs  oiv -p ReverseXML -i  fsimage-xml -o fsimage

 

but fsimage file is showing 0KB. Is there any alternate way to do this?

Hadoop version : 2.6

Don't have an account?
Coming from Hortonworks? Activate your account here