Hello @Amn_468
Since you reported the DN Pause time, I spoke/referred about DN heap only. The block counts on most of the DN seems >6Millions, hence would suggest to increase the DN heap to 8GB (from current value of 6GB) and perorm a rolling restart to bring the new heap size into effect.
There is no straight forward way to say you hit the small file problem but if your average block size is few MB or less than a MB in size, it is an indication that you are storing/accumulating small files in HDFS. Simplest way to determine small files in cluster is to run fsck.
Fsck should show the average block size. If it's too low a value (eg ~ 1MB ), you might be hitting the problems of small files which would be worth looking at, otherwise, there is no need to review the number of blocks.
[..]
$ hdfs fsck /
..
...
Total blocks (validated): 2899 (avg. block size 11475601 B) <<<<<
[..]
You may refer belwo links for your help on dealing with small files.
- https://blog.cloudera.com/small-files-big-foils-addressing-the-associated-metadata-and-application-challenges/
- https://community.cloudera.com/t5/Community-Articles/Identify-where-most-of-the-small-file-are-located-in-a-large/ta-p/247253