[ 
https://issues.apache.org/jira/browse/HIVE-7840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brock Noland updated HIVE-7840:
-------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Thank you so much for this fix!! I have committed this to trunk!

> Generated hive-default.xml.template mistakenly refers to property "name"s as 
> "key"s
> -----------------------------------------------------------------------------------
>
>                 Key: HIVE-7840
>                 URL: https://issues.apache.org/jira/browse/HIVE-7840
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Wilbur Yang
>            Assignee: Wilbur Yang
>            Priority: Minor
>             Fix For: 0.14.0
>
>         Attachments: HIVE-7840.patch
>
>
> 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:*
> {quote}
> <configuration>
>   ...
>   <property>
>     <key>hive.exec.script.wrapper</key>
>     <value/>
>     <description/>
>   </property>
>   ...
> {quote}
> *Right:*
> {quote}
> <configuration>
>   ...
>   <property>
>     <name>hive.exec.script.wrapper</name>
>     <value/>
>     <description/>
>   </property>
>   ...
> {quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to