Hi,
From my understanding i believe that , multiple blocks(not replicas) of same file in HDFS might reside on same data node.
Say if a file has 3 blocks B1,B2 and B3.
And the HDFS has 3 Data nodes , then DN1 can have B1,B2 and DN2 have B1,B3 and DN3 have B2,B3 ( say replication factor is 2)
So my DN1 can have blocks B1 and B2 of same file and DN2 can have blocks B1 and B3 of same file.
Please let me know whether this is correct or not.
Regards
Silvia
From my understanding i believe that , multiple blocks(not replicas) of same file in HDFS might reside on same data node.
Say if a file has 3 blocks B1,B2 and B3.
And the HDFS has 3 Data nodes , then DN1 can have B1,B2 and DN2 have B1,B3 and DN3 have B2,B3 ( say replication factor is 2)
So my DN1 can have blocks B1 and B2 of same file and DN2 can have blocks B1 and B3 of same file.
Please let me know whether this is correct or not.
Regards
Silvia