Cloudera
CCA-410 · Question #34
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 applic
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
(43 responses)- A81% (35)
- B12% (5)
- C2% (1)
- D5% (2)
Community Discussion
No community discussion yet for this question.