Search

What is the Hive configuration precedence order?



There is a precedence hierarchy to setting properties. In the following list, lower numbers take precedence over higher numbers:
  1. The Hive SET command
  2. The command line -hiveconf option
  3. hive-site.xml
  4. hive-default.xml
  5. hadoop-site.xml (or, equivalently, core-site.xml, hdfs-site.xml, and mapred-site.xml)
  6. hadoop-default.xml (or, equivalently, core-default.xml, hdfs-default.xml, and mapred-default.xml)