Grokking the System Design Interview, Volume II
0% completed
Anatomy of a Read Operation
HDFS read process
We can outline the HDFS read process in seven steps.
- When an application opens a file for reading, the HDFS client starts a read request by calling the
open()method on theDistributed FileSystemobject. The client gives the file name, the start offset, and the length of the range to read. - The
Distributed FileSystemobject works out which blocks it needs, based on that offset and range. It asks the NameNode for their locations. - The NameNode holds the metadata for every block's location, and returns a list of blocks along with each replica's location
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%