Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
When Hive is built with Maven, the default template for hive-site.xml (hive/packaging/target/apache-hive-0.14.0-SNAPSHOT-bin/apache-hive-0.14.0-SNAPSHOT-bin/conf/hive-default.xml.template) uses the <key> tag as opposed to the correct <name> tag. If a user were to create a custom hive-site.xml using this template, then it results in a rather confusing situation in which Hive logs that it has loaded hive-site.xml, but in reality none of those properties are registering correctly.
Wrong:
<configuration>
...
<property>
<key>hive.exec.script.wrapper</key>
<value/>
<description/>
</property>
...
Right:
<configuration>
...
<property>
<name>hive.exec.script.wrapper</name>
<value/>
<description/>
</property>
...