Grokking the System Design Interview, Volume II
Vote

0% completed

​

Anatomy of a Write Operation

We just walked through how HDFS reads a file. Now we look at the other direction: how it writes one.

HDFS write process

We can outline the HDFS write process in thirteen steps.

  1. The HDFS client starts a write request by calling the create() method on the Distributed FileSystem object.
  2. The Distributed FileSystem object sends a file creation request to the NameNode.
  3. The NameNode checks that the file does not already exist, and that the client has permission to create it. If both checks pass, it creates a new file record and sends an acknowledgment. 4

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content