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

MetastoreConf not properly handling variable interpolation in config values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • Metastore
    • None

    Description

      HiveConf allows the user to put System properties into values in the conf file, which will later be interpolated at read time. For example:

      <property>
        <name>hadoop.tmp.dir</name>
        <value>${test.tmp.dir}/hadoop-tmp</value>
        <description>A base for other temporary directories.</description>
      </property>
      

      The value for test.tmp.dir is read from the System properties at runtime.

      MetastoreConf is instead returning the uninterpolated value.

      Attachments

        Activity

          People

            gates Alan Gates
            gates Alan Gates
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: