Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-22120

TestHiveSparkSession.reset() should clean out Hive warehouse directory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.2.0
    • 2.2.1, 2.3.0
    • Tests
    • None

    Description

      Background: We call TestHiveSparkSession.reset() after each suite that extends TestHiveSingleton. The goal of the function is to reset all Hive-related state before the next suite.

      This task: When attempting to make some changes to the Hive-based tests, we noticed some subtle and annoying bugs related to state from one TestHiveSingleton suite affecting the results of later suites. To fix those bugs, and in the interests of making this method more complete, we should fully clean out the Hive warehouse directory in the reset() method.

      Attachments

        Activity

          People

            GregOwen Gregory Owen
            GregOwen Gregory Owen
            Gregory Owen Gregory Owen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: