[
https://issues.apache.org/jira/browse/HDFS-7159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arpit Agarwal updated HDFS-7159:
--------------------------------
Attachment: HDFS-7159.03.patch
Also add check for null policy in DFSOutputStream and {{appendFileInternal}}.
> Use block storage policy to set lazy persist preference
> -------------------------------------------------------
>
> Key: HDFS-7159
> URL: https://issues.apache.org/jira/browse/HDFS-7159
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Reporter: Arpit Agarwal
> Assignee: Arpit Agarwal
> Attachments: HDFS-7159.01.patch, HDFS-7159.02.patch,
> HDFS-7159.03.patch
>
>
> Now that HDFS-6584 feature is ready and supports block storage policies on
> both files and directories, we can make use of Storage Policies to store the
> LAZY_PERSIST preference.
> This only affects how the preference is persisted in the FsImage/Edit logs.
> There is no change to the client API or to NN-DN interaction.
> An additional advantage is that can support setting the lazy persist
> preference on a directory and it will take effect for all new files.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)