You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Yiqun Lin (JIRA)" <ji...@apache.org> on 2018/05/16 07:06:00 UTC

[jira] [Created] (HDFS-13573) Javadoc for BlockPlacementPolicyDefault is inaccurate

Yiqun Lin created HDFS-13573:
--------------------------------

             Summary: Javadoc for BlockPlacementPolicyDefault is inaccurate
                 Key: HDFS-13573
                 URL: https://issues.apache.org/jira/browse/HDFS-13573
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 3.1.0
            Reporter: Yiqun Lin


Current rule of default block placement:
{quote}
The replica placement strategy is that if the writer is on a datanode,
the 1st replica is placed on the local machine,
otherwise a random datanode. The 2nd replica is placed on a datanode
that is on a different rack. The 3rd replica is placed on a datanode
which is on a different node of the rack as the second replica.
{quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org