Arpit Agarwal created HDFS-7170:
-----------------------------------

             Summary: DFSOutputStream should query policies from NameNode
                 Key: HDFS-7170
                 URL: https://issues.apache.org/jira/browse/HDFS-7170
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: hdfs-client
    Affects Versions: HDFS-6581
            Reporter: Arpit Agarwal


Per feedback from [~jingzhao] on HDFS-7159.

DFSOutputStream creates the default policy suite locally to determine whether 
the LAZY_PERSIST policy is set on a file so it can pass the appropriate flag to 
DataNode via writeBlock. It should query the policies from the NameNode.

DFSClient will probably need to cache policies since we can't take the overhead 
of an additional RPC call to NameNode per create/append.



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

Reply via email to