Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7840

Generated hive-default.xml.template mistakenly refers to property "name"s as "key"s

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.14.0
    • 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>
      ...

      Attachments

        1. HIVE-7840.patch
          0.8 kB
          Wilbur Yang

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            wilbur.yang Wilbur Yang Assign to me
            wilbur.yang Wilbur Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment