* <property>
- * <name>dfs.client.buffer.dir</name>
- * <value>/tmp/hadoop/dfs/client</value>
+ * <name>dfs.hosts.include</name>
+ * <value>/etc/hadoop/conf/hosts.include</value>
* <final>true</final>
* </property>
*
@@ -2154,8 +2154,6 @@ private static void addDeprecatedKeys() {
new String[]{CommonConfigurationKeys.NET_TOPOLOGY_NODE_SWITCH_MAPPING_IMPL_KEY});
Configuration.addDeprecation("dfs.df.interval",
new String[]{CommonConfigurationKeys.FS_DF_INTERVAL_KEY});
- Configuration.addDeprecation("dfs.client.buffer.dir",
- new String[]{CommonConfigurationKeys.FS_CLIENT_BUFFER_DIR_KEY});
Configuration.addDeprecation("hadoop.native.lib",
new String[]{CommonConfigurationKeys.IO_NATIVE_LIB_AVAILABLE_KEY});
Configuration.addDeprecation("fs.default.name",
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeys.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeys.java
index 29e4f1373d6..ddeed433713 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeys.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeys.java
@@ -44,11 +44,6 @@ public class CommonConfigurationKeys extends CommonConfigurationKeysPublic {
"fs.permissions.umask-mode";
/** Default value for FS_PERMISSIONS_UMASK_KEY */
public static final int FS_PERMISSIONS_UMASK_DEFAULT = 0022;
- /** @deprecated not used, jira was created to remove this constant:
- * https://issues.apache.org/jira/browse/HADOOP-6802
- */
- public static final String FS_CLIENT_BUFFER_DIR_KEY =
- "fs.client.buffer.dir";
/** How often does RPC client send pings to RPC server */
public static final String IPC_PING_INTERVAL_KEY = "ipc.ping.interval";
/** Default value for IPC_PING_INTERVAL_KEY */
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/LocalDirAllocator.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/LocalDirAllocator.java
index 872434bb871..dab7ab4e9c9 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/LocalDirAllocator.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/LocalDirAllocator.java
@@ -66,8 +66,8 @@
@InterfaceStability.Unstable
public class LocalDirAllocator {
- //A Map from the config item names like "mapred.local.dir",
- //"dfs.client.buffer.dir" to the instance of the AllocatorPerContext. This
+ //A Map from the config item names like "mapred.local.dir"
+ //to the instance of the AllocatorPerContext. This
//is a static object to make sure there exists exactly one instance per JVM
private static Map