0 votes
in HDFS by
Why Hadoop Framework reads a file parallel why not sequential?

1 Answer

0 votes
by
To retrieve data faster, Hadoop reads data parallel, the main reason it can access data faster. While, writes in sequence, but not parallel, the main reason it might result one node can be overwritten by other and where the second node. Parallel processing is independent, so there is no relation between two nodes, if writes data in parallel, it’s not possible where the next chunk of data has. For example 100 MB data write parallel, 64 MB one block another block 36, if data writes parallel first block doesn’t know where the remaining data. So Hadoop reads parallel and write sequentially.

Related questions

+1 vote
asked Jun 26, 2021 in HDFS by SakshiSharma
0 votes
asked Sep 21, 2023 in Dot Net by Robin
...