Reputation: 1963
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)?
Upvotes: 0
Views: 530
Reputation: 1963
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
Upvotes: 1