Grokking the System Design Interview, Volume II
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.
- The HDFS client starts a write request by calling the
create()method on theDistributed FileSystemobject. - The
Distributed FileSystemobject sends a file creation request to the NameNode. - 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%