title: what algorithm hadoop dfs uses to store data on nodes? or it chooses nodes at random?
body: <p>How does hdfs determine which data block to be stored on which node?There must be some algorithm on choosing the data nodes for data blocks.I would like to learn about that.</p>