H13-711_V3.5 · Question #324
HDFS supports large file storage, and supports multiple users to write to the same file at the same time, and to modify any position of the file.
The correct answer is B. False. B is correct because HDFS is designed on a write-once, read-many model - it does not support multiple concurrent writers to the same file, nor does it allow random (arbitrary position) writes or in-place modifications. Once a file is written and closed, it is essentially…
Question
HDFS supports large file storage, and supports multiple users to write to the same file at the same time, and to modify any position of the file.
Options
- ATrue
- BFalse
How the community answered
(58 responses)- A22% (13)
- B78% (45)
Explanation
B is correct because HDFS is designed on a write-once, read-many model - it does not support multiple concurrent writers to the same file, nor does it allow random (arbitrary position) writes or in-place modifications. Once a file is written and closed, it is essentially immutable; only sequential appends are supported (and even that was a later addition).
The statement is partially seductive because the first clause - HDFS supports large file storage - is absolutely true; that is in fact HDFS's primary design goal (files in the GB–TB range). The falsehood lies in the second half: concurrent multi-user writes and random-position edits are explicitly not supported, as these would conflict with HDFS's block-replication model and its optimization for high-throughput streaming reads over a distributed cluster.
Memory tip: Think of HDFS files like a published book - you can read it from anywhere and many people can read simultaneously, but once it's printed you can't go back and rewrite a random paragraph. "Write once, read many" is the phrase to remember for HDFS.
Topics
Community Discussion
No community discussion yet for this question.