Jing Zhao created HDFS-6961: ------------------------------- Summary: BlockPlacementPolicy#chooseTarget should check each valid storage type in each choosing round Key: HDFS-6961 URL: https://issues.apache.org/jira/browse/HDFS-6961 Project: Hadoop HDFS Issue Type: Sub-task Reporter: Jing Zhao Assignee: Jing Zhao
Currently in each choosing round of BlockPlacementPolicy#chooseTarget (e.g., round 1 for choosing local storage, round 2 for remote rack, etc.), we only take into account the first storage type in the storage type list. This may fail to choose the local machine or sometimes may even fail to choose enough nodes. -- This message was sent by Atlassian JIRA (v6.2#6252)