Restore data from datanode after doing hdfs namenode -reformat
I have executed the command hdfs namenode -reformat on my hadoop cluster and the namenode data files have newly generated VERSION file.
This created inconsistency as the datanode and namenode VERSION files have different cluster-ID.
I manually changed the cluster-id in the datanode VERSION file to match the namenode one. This resulted in succesful start of the cluster but after the start there is a new block create with new blockpoolID which is empy. All my data is in the old datafile with old blockpoolID but it is currently not mapped to my hadoop filestystem.
How can I recover my old data and make it accessible in my hadoop cluster again?
Can I somehow just start over with my old datafile from datanode?

