From 92e29d57d96e54089752bbfe73ebc7523a52d864 Mon Sep 17 00:00:00 2001 From: litao <55134131+tomscut@users.noreply.github.com> Date: Wed, 3 Mar 2021 21:34:02 +0800 Subject: [PATCH] HDFS-15870. Remove unused configuration dfs.namenode.stripe.min (#2739) Co-authored-by: tomscut (cherry picked from commit cdba06e380bce2ce7d8918e0772a5762fdba3122) --- .../src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java | 2 -- .../test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java index 5eee8dfaa28..7f57f4cdffc 100755 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java @@ -236,8 +236,6 @@ public class DFSConfigKeys extends CommonConfigurationKeys { = "dfs.namenode.file.close.num-committed-allowed"; public static final int DFS_NAMENODE_FILE_CLOSE_NUM_COMMITTED_ALLOWED_DEFAULT = 0; - public static final String DFS_NAMENODE_STRIPE_MIN_KEY = "dfs.namenode.stripe.min"; - public static final int DFS_NAMENODE_STRIPE_MIN_DEFAULT = 1; public static final String DFS_NAMENODE_SAFEMODE_REPLICATION_MIN_KEY = "dfs.namenode.safemode.replication.min"; diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java index 7f848c54802..a2697a20c55 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java @@ -79,8 +79,6 @@ public class TestHdfsConfigFields extends TestConfigurationFieldsBase { .add("dfs.datanode.non.local.lazy.persist"); configurationPropsToSkipCompare .add("dfs.namenode.tolerate.heartbeat.multiplier"); - configurationPropsToSkipCompare - .add("dfs.namenode.stripe.min"); configurationPropsToSkipCompare .add("dfs.namenode.replqueue.threshold-pct");