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

0% completed

Anatomy of a Write Operation

This lesson explains how HDFS handles a write operation.

HDFS write process

HDFS write process can be outlined as follows:

  1. HDFS client initiates a write request by calling the create() method of the Distributed FileSystem object.
  2. The Distributed FileSystem object sends a file creation request to the NameNode.
  3. The NameNode verifies that the file does not already exist and that the client has permission to create the file. If both these conditions are verified, the NameNode creates a new file record and sends an acknowledgment. 4




Like the course? Get enrolled and start learning!