[
https://issues.apache.org/jira/browse/HDFS-8095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15816734#comment-15816734
]
Kai Zheng commented on HDFS-8095:
---------------------------------
Thanks [~andrew.wang] for the thoughts. I'm not sure if we still need this. In
the current implementation we do allow users to specify a EC policy for a
folder/file but if otherwise they don't provide, a hard-coded default one is
used. Allowing to configure/change the system default policy may be error-prone
because if the configuration is used improperly, it may cause data corruption.
Note the default policy is {{RS-6-3-64K}} and the referenced schema {{RS-6-3}}
is widely adopted in the industry, so the default policy should be good enough
considering the default cell size of {{64k}} should be a good choice (well
discussed but not sure where now).
> Allow to configure the system default EC schema
> -----------------------------------------------
>
> Key: HDFS-8095
> URL: https://issues.apache.org/jira/browse/HDFS-8095
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Kai Zheng
> Assignee: Kai Zheng
> Labels: hdfs-ec-3.0-nice-to-have
>
> As suggested by [~umamaheswararao] and [~vinayrpet] in HDFS-8074, we may
> desire allowing to configure the system default EC schema, so in any
> deployment a cluster admin may be able to define their own system default
> one. In the discussion, we have two approaches to configure the system
> default schema: 1) predefine it in the {{ecschema-def.xml}} file, making sure
> it's not changed; 2) configure the key parameter values as properties in
> {{core-site.xml}}. Open this for future consideration in case it's forgotten.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]