List of usage examples for org.apache.hadoop.conf Configuration addDeprecation
public static void addDeprecation(String key, String newKey)
From source file:org.apache.slider.common.tools.ConfigHelper.java
License:Apache License
/** * Register anything we consider deprecated *//*w ww. ja v a 2 s . c om*/ public static void registerDeprecatedConfigItems() { Configuration.addDeprecation(SliderXmlConfKeys.REGISTRY_ZK_QUORUM, RegistryConstants.KEY_REGISTRY_ZK_QUORUM); Configuration.addDeprecation(SliderXmlConfKeys.REGISTRY_PATH, RegistryConstants.KEY_REGISTRY_ZK_ROOT); }
From source file:org.apache.tez.mapreduce.hadoop.DeprecatedKeys.java
License:Apache License
@SuppressWarnings("unused") private static void _(String mrKey, String tezKey) { Configuration.addDeprecation(mrKey, tezKey); }
From source file:org.janusgraph.hadoop.compat.h2.ImmutableConfiguration.java
License:Apache License
@Deprecated public static void addDeprecation(String key, String[] newKeys) { Configuration.addDeprecation(key, newKeys); }
From source file:org.janusgraph.hadoop.compat.h2.ImmutableConfiguration.java
License:Apache License
public static void addDeprecation(String key, String newKey) { Configuration.addDeprecation(key, newKey); }