Skip to content

Conversation

vikramahuja1001
Copy link
Contributor

…e 4 to Avoid Job Failures

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Copy link

Comment on lines +5610 to +5613
HIVE_IGNORE_REMOVED_CONFIGS_LIST("hive.ignore.removed.configs.list",
"",
"Comma separated list of configuration options which are removed from hive code. Silently ignore if the user tries to set them"),

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need a new property since this complicates the deprecation and removal of properties even more. hive.conf.validation seems to be enough for skipping validation although I don't like much this flag either.

Comment on lines +7269 to +7272
public static String generateRemovedWarning() {
return "This config does not exist in the current version of Hive. Consider removing this config.";
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are better ways to log warning about deprecated/removed properties. See: org.apache.hadoop.conf.Configuration#addDeprecation

Sets.newHashSet("hive.mapred.supports.subdirectories",
"hive.enforce.sorting","hive.enforce.bucketing",
"hive.outerjoin.supports.filters",
"hive.llap.zk.sm.principal",
"hive.llap.zk.sm.keytab.file"
"hive.llap.zk.sm.keytab.file",
"hive.stats.fetch.partition.stats",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are other configs as well which I found doesn't exist in hive:

  1. hive.repl.dumpdir.ttl
  2. hive.repl.dumpdir.clean.freq
  3. hive.llap.io.vrb.queue.limit.base
  4. hive.llap.external.splits.order.by.force.single.split

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants