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

TestHiveSparkSession.reset() should clean out Hive warehouse directory

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

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

          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:

              Slack

                Issue deployment