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

Handle history files better

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 2.2.0
    • Spark Core
    • None

    Description

      Right now there are many conditions in which history files get left around with the .inprogress extension. The cleaner doesn't remove these because it can't distinguish between something running and left over abandoned files.

      There are cases its really hard to not leave these around (application killed/crashes/etc). But we should still try to handle the history files better.

      For instance we could first write them to the .sparkStaging directory and then moving to the history file location before the application finishes. That way you only get completed history files.

      Attachments

        Issue Links

          Activity

            People

              eseyfe Ergin Seyfe
              tgraves Thomas Graves
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: