From 85bf0084052d4efab2eba53a96b07a6c5d04aaef Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Mon, 22 Oct 2018 11:08:30 +0100 Subject: [PATCH] HADOOP-15866. Renamed HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT keys break compatibility. Contributed by Wei-Chiu Chuang. (cherry picked from commit cb8d11e7bf5055508949a6a4f074efacc8cb1305) --- .../fs/CommonConfigurationKeysPublic.java | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java index b92d3253aa4..852342357e8 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java @@ -544,14 +544,29 @@ public class CommonConfigurationKeysPublic { */ public static final String HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT_KEY = "hadoop.security.groups.shell.command.timeout"; + /** + * @deprecated use + * {@link CommonConfigurationKeysPublic#HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT_KEY} + * instead. + */ + public static final String HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT_SECS = + HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT_KEY; /** * @see * * core-default.xml */ public static final long - HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT_DEFAULT = - 0L; + HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT_DEFAULT = + 0L; + /** + * @deprecated use + * {@link CommonConfigurationKeysPublic#HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT_DEFAULT} + * instead. + */ + public static final long + HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT_SECS_DEFAULT = + HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT_DEFAULT; /** * @see *