[
https://issues.apache.org/jira/browse/HDFS-4946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13739790#comment-13739790
]
Harsh J commented on HDFS-4946:
-------------------------------
bq. Allow preferLocalNode in BlockPlacementPolicyDefault to be disabled in
configuration to prevent *a client* from writing the first replica of every
block (i.e. the entire file) to the local DataNode.
The description reads to prevent specific clients, but the config toggle would
shut off all clients from writing locally, which may not be desirous. Ideally
we would like a client sent hint that influences the selection.
> Allow preferLocalNode in BlockPlacementPolicyDefault to be configurable
> -----------------------------------------------------------------------
>
> Key: HDFS-4946
> URL: https://issues.apache.org/jira/browse/HDFS-4946
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Affects Versions: 2.0.0-alpha
> Reporter: James Kinley
> Assignee: James Kinley
> Attachments: HDFS-4946-1.patch
>
>
> Allow preferLocalNode in BlockPlacementPolicyDefault to be disabled in
> configuration to prevent a client from writing the first replica of every
> block (i.e. the entire file) to the local DataNode.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira