Skip to content

Commit 699397f

Browse files
review comments handling
1 parent 0ee0d41 commit 699397f

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

common/src/java/org/apache/hadoop/hive/conf/HiveConf.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5607,16 +5607,11 @@ public static enum ConfVars {
56075607
HIVE_MM_AVOID_GLOBSTATUS_ON_S3("hive.mm.avoid.s3.globstatus", true,
56085608
"Whether to use listFiles (optimized on S3) instead of globStatus when on S3."),
56095609

5610-
HIVE_IGNORE_REMOVED_CONFIGS_LIST("hive.ignore.removed.configs.list",
5611-
"",
5612-
"Comma separated list of configuration options which are removed from hive code. Silently ignore if the user tries to set them"),
5613-
56145610
// If a parameter is added to the restricted list, add a test in TestRestrictedList.Java
56155611
HIVE_CONF_RESTRICTED_LIST("hive.conf.restricted.list",
56165612
"hive.security.authenticator.manager,hive.security.authorization.manager," +
56175613
"hive.security.metastore.authorization.manager,hive.security.metastore.authenticator.manager," +
56185614
"hive.users.in.admin.role,hive.server2.xsrf.filter.enabled,hive.server2.csrf.filter.enabled,hive.security.authorization.enabled," +
5619-
"hive.ignore.removed.configs.list," +
56205615
"hive.distcp.privileged.doAs," +
56215616
"hive.server2.authentication.ldap.baseDN," +
56225617
"hive.server2.authentication.ldap.url," +

ql/src/java/org/apache/hadoop/hive/ql/processors/SetProcessor.java

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@ public class SetProcessor implements CommandProcessor {
6767
"hive.metastore.initial.metadata.count.enabled",
6868
"hive.cli.pretty.output.num.cols",
6969
"hive.debug.localtask",
70-
"hive.timedout.txn.reaper.start"
70+
"hive.timedout.txn.reaper.start",
71+
"hive.repl.dumpdir.ttl",
72+
"hive.repl.dumpdir.clean.freq",
73+
"hive.llap.io.vrb.queue.limit.base",
74+
"hive.llap.external.splits.order.by.force.single.split"
7175
);
7276
// Allow the user to set the ORC properties without getting an error.
7377
private static final Set<String> allowOrcConfigs = new HashSet<>();
@@ -241,14 +245,6 @@ static String setConf(SessionState ss, String varName, String key, String varVal
241245
String result = null;
242246
HiveConf conf = ss.getConf();
243247

244-
String removedHiveConfigsList = conf.getVar(HiveConf.ConfVars.HIVE_IGNORE_REMOVED_CONFIGS_LIST);
245-
if (removedHiveConfigsList != null && !removedHiveConfigsList.isEmpty()) {
246-
for (String entry : removedHiveConfigsList.split(",")) {
247-
if (!removedHiveConfigs.contains(entry.trim())) {
248-
removedHiveConfigs.add(entry.trim());
249-
}
250-
}
251-
}
252248
if (removedHiveConfigs.contains(key)) {
253249
// do not do anything. do not throw any error, just silently return
254250
result = HiveConf.generateRemovedWarning();

0 commit comments

Comments
 (0)