HBASE-8269 Fix data locallity documentation

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1552084 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2013-12-18 20:30:58 +00:00
parent a227e85cca
commit bca71ecacf
1 changed files with 4 additions and 2 deletions

View File

@ -1778,9 +1778,11 @@ rs.close();
<orderedlist>
<listitem>First replica is written to local node
</listitem>
<listitem>Second replica is written to another node in same rack
<listitem>Second replica is written to a random node on another rack
</listitem>
<listitem>Third replica is written to a node in another rack (if sufficient nodes)
<listitem>Third replica is written on the same rack as the second, but on a different node chosen randomly
</listitem>
<listitem>Subsequent replicas are written on random nodes on the cluster
</listitem>
</orderedlist>
Thus, HBase eventually achieves locality for a region after a flush or a compaction.