Arpit Agarwal created HDFS-7192:
-----------------------------------

             Summary: 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
    Affects Versions: 3.0.0
            Reporter: Arpit Agarwal


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