全部评论
根据机架感知原理,一个副本在本地,一个副本放在同机架的服务器上,另一个副本放在其他机架上的服务器上。
老哥我记得你好像是在京东的吧
在大多数情况下,副本系数是3,HDFS的存放策略是将一个副本存放在本地机架的节点上,一个副本放在同一机架的另一个节点上,最后一个副本放在不同机架的节点上 For the common case, when the replication factor is three, HDFS’s placement policy is to put one replica on the local machine if the writer is on a datanode, otherwise on a random datanode in the same rack as that of the writer, another replica on a node in a different (remote) rack, and the last on a different node in the same remote rack. 老哥这中文翻译是错的啊?!
相关推荐