[
https://issues.apache.org/jira/browse/HDFS-11314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15897812#comment-15897812
]
Rakesh R commented on HDFS-11314:
---------------------------------
Thanks [~andrew.wang], enabling concept looks good to me.
{quote} One question for reviewers is whether we should have a default policy
enabled or not. The set of enabled policies has to be configured correctly for
the cluster at hand, so it might be better to leave it empty and force users to
choose the right value. This would require some more test updates, so I might
ask to do that as a follow-on change.{quote}
I'd also prefer keep the list empty and lets users configure the right values
based on their topology. Agreed to push this changes via separate jira task.
Adding few points to discuss,
# I'm referring the below quoted line from HDFSErasureCoding.md doc changes
section in the patch.
{code}It does not affect the behavior of already set file or directory-level EC
policies.{code}
IIUC, talking about a case where user disabled an ec policy which was enabled
earlier and has set of ec files created with that ec policy. Could you please
point me the way Namenode handles this during restarts and read from edit log.
It would be good to add test case if not added.
# Whats your opinion to provide a facility to dynamically/reconfigure enabling
the policies with out needing to restart Namenode?
> Enforce set of enabled EC policies on the NameNode
> --------------------------------------------------
>
> Key: HDFS-11314
> URL: https://issues.apache.org/jira/browse/HDFS-11314
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: erasure-coding
> Affects Versions: 3.0.0-alpha1
> Reporter: Andrew Wang
> Assignee: Andrew Wang
> Priority: Blocker
> Labels: hdfs-ec-3.0-must-do
> Attachments: HDFS-11314.001.patch, HDFS-11314.002.patch,
> HDFS-11314.003.patch
>
>
> Filing based on discussion in HDFS-8095. A user might specify a policy that
> is not appropriate for the cluster, e.g. a RS (10,4) policy when the cluster
> only has 10 nodes. The NN should only allow the client to choose from a
> pre-approved list determined by the cluster administrator.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]