When we read a single byte from HDFS file, does it mean a full HDFS block gets read from the disk somewhere on the cluster (assuming no caching involved)?
Asked
Active
Viewed 479 times
1 Answers
1
The answer is no.
This is affected (may be not exclusively) by dfs.datanode.readahead.bytes
parameter, which defaults to 4MB
in hadoop v2.2.0

Ivan Balashov
- 1,897
- 1
- 23
- 33