Details
Description
We have discussed storing EC schema with files instead of EC zones and recently revisited the discussion under HDFS-8059.
As a recap, the zone concept has severe limitations including renaming and nested configuration. Those limitations are valid in encryption for security reasons and it doesn't make sense to carry them over in EC.
This JIRA aims to store EC schema and cell size on INodeFile level. For simplicity, we should first implement it as an xattr and consider memory optimizations (such as moving it to file header) as a follow-on. We should also disable changing EC policy on a non-empty file / dir in the first phase.
Attachments
Attachments
Issue Links
- is duplicated by
-
HDFS-8059 Erasure coding: revisit how to store EC schema and cellSize in NameNode
- Resolved
- relates to
-
HDFS-12919 RBF: Support erasure coding methods in RouterRpcServer
- Resolved
-
HDFS-8373 Ec files can't be deleted into Trash because of that Trash isn't EC zone.
- Resolved
- requires
-
HDFS-8854 Erasure coding: add ECPolicy to replace schema+cellSize in hadoop-hdfs
- Resolved