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