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

Fix inconsistent state in DiskBlockObjectWriter when exception occurred

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.1, 2.2.0
    • Component/s: Spark Core
    • Labels:
      None

      Description

      In DiskBlockObjectWriter, when some errors happened during writing, it will call revertPartialWritesAndClose, if this method again failed due to some hardware issues like out of disk, it will throw exception without resetting the state of this writer, also skipping the revert. So here propose to fix this issue to offer user a chance to recover from such issue.

        Attachments

          Activity

            People

            • Assignee:
              jerryshao Saisai Shao
              Reporter:
              jerryshao Saisai Shao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: