Cloudera
CCD-410 · Question #33
Which describes how a client reads a file from HDFS?
The correct answer is A. The client queries the NameNode for the block location(s). Upon a client request Namenode pulls the information about the blocks location and replication/datanode info from its memory and returns to the client. Then client talks to the datanode directly.
Hadoop Ecosystem Fundamentals
Question
Which describes how a client reads a file from HDFS?
Options
- AThe client queries the NameNode for the block location(s).
- BThe client queries all DataNodes in parallel.
- CThe client contacts the NameNode for the block location(s).
- DThe client contacts the NameNode for the block location(s).
How the community answered
(52 responses)- A75% (39)
- B2% (1)
- C8% (4)
- D15% (8)
Explanation
Upon a client request Namenode pulls the information about the blocks location and replication/datanode info from its memory and returns to the client. Then client talks to the datanode directly.
Topics
#HDFS read#NameNode#DataNode#block location
Community Discussion
No community discussion yet for this question.