[ 
https://issues.apache.org/jira/browse/HDFS-7192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14646534#comment-14646534
 ] 

Xiaoyu Yao commented on HDFS-7192:
----------------------------------

Thanks [~arpitagarwal] for working on this. Patch LGTM. 
Can you rebase and rerun Jenkins as some of the changes in DFSConfigKeys.java 
from v3 can't apply any more?

> DN should ignore lazyPersist hint if the writer is not local
> ------------------------------------------------------------
>
>                 Key: HDFS-7192
>                 URL: https://issues.apache.org/jira/browse/HDFS-7192
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: HDFS-7192.01.patch, HDFS-7192.02.patch, 
> HDFS-7192.03.patch
>
>
> The DN should ignore {{allowLazyPersist}} hint to 
> {{DataTransferProtocol#writeBlock}} if the writer is not local.
> Currently we don't restrict memory writes to local clients. For in-cluster 
> clients this is not an issue as single replica writes default to the local 
> DataNode. But clients outside the cluster can still send this hint.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to