HADOOP-15866. Renamed HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT keys break compatibility.

Contributed by Wei-Chiu Chuang.
This commit is contained in:
Steve Loughran 2018-10-22 11:06:56 +01:00
parent 97a41b3dbe
commit 52cb766ad0

View File

@ -544,14 +544,29 @@ public class CommonConfigurationKeysPublic {
*/ */
public static final String HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT_KEY = public static final String HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT_KEY =
"hadoop.security.groups.shell.command.timeout"; "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 * @see
* <a href="{@docRoot}/../hadoop-project-dist/hadoop-common/core-default.xml"> * <a href="{@docRoot}/../hadoop-project-dist/hadoop-common/core-default.xml">
* core-default.xml</a> * core-default.xml</a>
*/ */
public static final long public static final long
HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT_DEFAULT = HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT_DEFAULT =
0L; 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 * @see
* <a href="{@docRoot}/../hadoop-project-dist/hadoop-common/core-default.xml"> * <a href="{@docRoot}/../hadoop-project-dist/hadoop-common/core-default.xml">