Grokking the Advanced System Design Interview
Ask Author
Back to course home

0% completed

Anatomy of a Read Operation
Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

HDFS read process

HDFS read process can be outlined as follows:

  1. When a file is opened for reading, HDFS client initiates a read request, by calling the open() method of the Distributed FileSystem object. The client specifies the file name, start offset, and the read range length.
  2. The Distributed FileSystem object calculates what blocks need to be read based on the given offset and range length, and requests the locations of the blocks from the NameNode.
  3. NameNode has metadata for all blocks' locations

.....

.....

.....

Like the course? Get enrolled and start learning!

Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible