Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7292 Hive on Spark
  3. HIVE-8506

UT: add test flag in hive-site.xml for spark tests

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Spark
    • Labels:
      None

      Description

      All tests dbtxnmgr_* fail because the metastore tables are not correctly initialized. We need to set the hive.in.test flag in hive-site.xml under data/conf/spark:

      <property>
      <name>hive.in.test</name>
      <value>true</value>
      <description>Internal marker for test. Used for masking env-dependent values</description>
      </property>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tfriedr Thomas Friedrich
                Reporter:
                tfriedr Thomas Friedrich
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: