You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "haiyangyu (Jira)" <ji...@apache.org> on 2021/11/27 07:08:00 UTC

[jira] [Created] (SPARK-37473) BypassMergeSortShuffleWriter may loss data when disk is missing however catagory is present

haiyangyu created SPARK-37473:
---------------------------------

             Summary: BypassMergeSortShuffleWriter may loss data when disk is missing however catagory is present
                 Key: SPARK-37473
                 URL: https://issues.apache.org/jira/browse/SPARK-37473
             Project: Spark
          Issue Type: Bug
          Components: Shuffle
    Affects Versions: 3.2.0, 3.0.0, 2.4.8, 2.4.1, 2.4.0
            Reporter: haiyangyu
         Attachments: image-2021-11-27-15-07-41-516.png

!image-2021-11-27-14-58-10-986.png|width=687,height=417!

We think it has no data when the segment file not exists when all segment produced by `BypassMergeSortShuffleWriter` is merging;

However, `file.exists()` may rerurn `false` when then the disk which segment file in on is missing and the root catagory exists; the missing disk only lead `file.exists()` return `false` but no exception. The task will run in pease and with no current segment file written.

The segment data will be ignored  and leading shuffle data loss.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org