First check is the status of the file system.
The output of the "fsck" command will list lots of information and is difficult to read it on the screen, so redirect the output to a file. Going through the fsck output reveals that my file system is CORRUPT.
Add caption |
In order to fix this issue, I manually deleted the corrupted files using the below command:
After all the corrupted files are deleted, by running the "fsck" reveals that the HDFS is healthy.
No comments:
Post a Comment