Cloudera
CCA-500 · Question #87
Your cluster Mode size is set to 128MB. A client application (client application A) is writing a 500MB file to HDFS. After client application A has written 300MB of data, another client (client…
The correct answer is A. Application B can read 256MB of the file. See the full explanation below for the reasoning.
Question
Your cluster Mode size is set to 128MB. A client application (client application A) is writing a 500MB file to HDFS. After client application A has written 300MB of data, another client (client application B) attempts to read the file. What is the effect of a second client requesting a file during a write?
Options
- AApplication B can read 256MB of the file
- BClient application B returns an error
- CClient application on B can read the 300MB that has been written so far.
- DClient application B must wait until the entire file has been written, and will then read its entire contents.
How the community answered
(29 responses)- A76% (22)
- B3% (1)
- C14% (4)
- D7% (2)
Community Discussion
No community discussion yet for this question.