[ 
https://issues.apache.org/jira/browse/HDFS-10916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Wang updated HDFS-10916:
-------------------------------
    Release Note: 
EC policy is now stored in the "system" extended attribute namespace rather 
than "raw". This means the EC policy extended attribute is no longer directly 
accessible by users or preserved across a distcp that preserves raw extended 
attributes.

Users can instead use HdfsAdmin#setErasureCodingPolicy and 
HdfsAdmin#getErasureCodingPolicy to set and get the EC policy for a path.

> Switch from "raw" to "system" namespace for erasure coding policy
> -----------------------------------------------------------------
>
>                 Key: HDFS-10916
>                 URL: https://issues.apache.org/jira/browse/HDFS-10916
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: erasure-coding
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>         Attachments: HDFS-10916.001.patch
>
>
> Currently EC policy is stored as in the raw xattr namespace. It would be 
> better to store this in "system" like storage policy.
> Raw is meant for attributes which need to be preserved across a distcp, like 
> encryption info. EC policy is more similar to replication factor or storage 
> policy, which can differ between the src and target of a distcp. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to