HADOOP FILE SYSTEM
HADOOP FILE SYSTEM
HDFS
To get an idea of how data flows between the client
interacting with HDFS, the namenode and the datanode,
consider the below diagram,
which shows the main sequence of events when
reading a file.
The client opens the file it wishes to read by calling
open() on the FileSystem object, which for HDFS is an
instance of DistributedFileSystem.