we have two namenode machines ( are part of HDP cluster in ambari )
because electricity failure , we notices about the following
on one name node we see that fsimage_xxxx files are missing
while on the second namenode they are exists
is it possible to re-create them on the faulty name node
example on the bad node
ls /hadoop/hdfs/namenode/current | grep fsimage_
no output
on the good namenode
ls /hadoop/hdfs/namenode/current | grep fsimage_
fsimage_0000000000044556627
fsimage_0000000000044556627.md5
fsimage_0000000000044577059
fsimage_0000000000044577059.md5
the status for now is that name-node service not startup successfully from ambari
and the logs from the faulty name-node say like this:
ERROR namenode.NameNode (NameNode.java:main(1783)) - Failed to start namenode.
java.io.FileNotFoundException: No valid image files found
Michael-Bronson