Created on 12-27-201605:14 PM - edited 08-17-201906:37 AM
How to read fsimage:
We can use Offline Image Viewer tool to view the fsimage data in a human readable format. Sometimes, this becomes more essential to analyse the fsimage to understand the usage pattern, how many 0 bite files are created, what is the space consumption pattern and is the fsimage corrupt.
Donwload the fsimage:
hdfs dfsadmin –fetchImage /fsimage
This will download the latest fsimage from Name node