Hello all,
In this post, I will tell you about the relationship between HDFS/YARN/ZooKeeper.
Relationship between SmallFS and HDFS
As a file system constructed at the upper layer of HDFS, SmallFS can merge small files on HDFS to reduce the impact of excessive small files on HDFS and provide customers with a transparent small file operation interface.
Numerous small files on HDFS are merged as input of SmallFS into large files, which are then output to HDFS.
Relationship between SmallFS and YARN
SmallFS will periodically run merge, delete, and cleanup tasks. Suck tasks are MapReduce tasks running on YARN to merge, delete, and clean up data in the HDFS.
Relationship between SmallFS and ZooKeeper
FGCService is deployed in high availability (HA) mode. The HA mode is used to ensure service availability when a single-node fault occurs. FGCService depends on ZooKeeper to support the HA mode.
Figure 1 Relationship between ZooKeeper and ZooKeeper

That is all for today, thanks.


