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

Adding ability to audit file system before and after test to ensure all files are cleaned up.

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Incomplete
    • 2.3.1
    • None
    • Build

    Description

      Some spark tests use temporary files and folders on the file system. This proposal is to audit the file system before and after to ensure that all files created are cleaned up.

      This proposal is to add two flags to SparkFunSuite. One to enable the auditing, which will log a warning if there is a discrepancy, and one to throw an exception if there is a discrepancy. 

      This is intended to help prevent file leakage in spark.

      Attachments

        Activity

          People

            Unassigned Unassigned
            databricks-david-lewis David Lewis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: