[ https://issues.apache.org/jira/browse/HDFS-12054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16125170#comment-16125170 ]
lufei edited comment on HDFS-12054 at 8/14/17 3:01 AM: ------------------------------------------------------- Yes,your suggestion is very nice. The function of addErasureCodingPolicies is no need to make public.I have modified it in HDFS-12054.004.patch and HDFS-12066.004.patch. Thanks. was (Author: figo): Yes,your suggestion is very nice. The function of addErasureCodingPolicies is no need to make public.I have modified it in HDFS-12054.004.patch and HDFS-12066.003.patch. Thanks. > FSNamesystem#addErasureCodingPolicies should call checkNameNodeSafeMode() to > ensure Namenode is not in safemode > --------------------------------------------------------------------------------------------------------------- > > Key: HDFS-12054 > URL: https://issues.apache.org/jira/browse/HDFS-12054 > Project: Hadoop HDFS > Issue Type: Bug > Components: hdfs > Affects Versions: 3.0.0-alpha3 > Reporter: lufei > Assignee: lufei > Labels: hdfs-ec-3.0-nice-to-have > Attachments: HDFS-12054.001.patch, HDFS-12054.002.patch, > HDFS-12054.003.patch, HDFS-12054.004.patch > > > In the process of FSNamesystem#addErasureCodingPolicies, it would be better > to call checkNameNodeSafeMode() to ensure NN is not in safemode. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org