We have a cluster having two racks R1 and R2. R1 has three machines M1, M2, and M3. R2 has three machines M4, M5, and M6. On M1 we have namenode only. We have installed a datanode on the rest of the machines. If we have logged in M3 and we have a file of size 100MB on the local file system of M3. The default replication factor is 3 and all datanodes have ample amount of space available. If we copy this file to HDFS having 3 replication factor, which nodes are most likely to have the replicas of this files' data?
Note - Having trouble with the assessment engine? Follow the steps listed here
No hints are availble for this assesment