Complete the code to identify the main component responsible for storing file metadata in a distributed file system.
The component that stores file metadata in a distributed file system is called the [1].
The Name Node manages metadata like file names, directories, and block locations in distributed file systems such as HDFS.
Complete the code to specify the protocol used by clients to communicate with data nodes in a distributed file system.
Clients communicate with data nodes using the [1] protocol.
RPC is commonly used for communication between clients and data nodes in distributed file systems for efficient remote method invocation.
Fix the error in the description of data replication in distributed file systems.
Data replication ensures that each data block is stored on [1] different nodes to provide fault tolerance.Typically, distributed file systems replicate data blocks on three different nodes to balance fault tolerance and storage overhead.
Fill both blanks to complete the description of the request flow in a distributed file system.
When a client wants to read a file, it first contacts the [1] to get the [2] of the data blocks.
The client contacts the Name Node to get the locations of data blocks before reading from Data Nodes.
Fill all three blanks to complete the description of fault tolerance mechanisms in distributed file systems.
To handle node failures, the system uses [1] to replicate data, [2] to detect failures, and [3] to reassign tasks.
Replication copies data, heartbeat signals detect node failures, and failover reassigns tasks to healthy nodes.