From cdba06e380bce2ce7d8918e0772a5762fdba3122 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 --- .../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 790d1aa19fd..c29d91c421a 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 @@ -270,8 +270,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 da9473c8e14..fab4fcd0409 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 @@ -83,8 +83,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");