What is the precedence order in Hive configuration?

In Hive we can use following precedence order to set the configurable properties.

  • Hive SET command has the highest priority
  • -hiveconf option from Hive Command Line
  • hive-site.xml file
  • hive-default.xml file
  • hadoop-site.xml file
  • hadoop-default.xml file

Leave a Reply

Your email address will not be published. Required fields are marked *