FSNamesystem#removeErasureCodingPolicy should call checkNameNodeSafeMode() to ensure Namenode is not in safemode
FSNamesystem#addErasureCodingPolicies should call checkNameNodeSafeMode() to ensure Namenode is not in safemode
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12189 (See https://builds.apache.org/job/Hadoop-trunk-Commit/12189/)
HDFS-12066. When Namenode is in safemode,may not allowed to remove an (weichiu: rev e3ae3e26446c2e98b7aebc4ea66256cfdb4a397f)
Thx! Patch was committed in trunk.
This message was automatically generated.
Looks good to me.
Would it be feasible to add tests in TestSafeMode#testOperationsWhileInSafeMode?