Peter Nguyen created SPARK-62262:
------------------------------------

             Summary: Remote read of an empty cached partition stored as 
deserialized objects fails with 'Empty buffer received for non empty block' and 
recomputes it
                 Key: SPARK-62262
                 URL: https://issues.apache.org/jira/browse/SPARK-62262
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 4.3.0, 3.5.3
            Reporter: Peter Nguyen


If an empty partition is cached as deserialized objects (e.g. MEMORY_AND_DISK) 
and another executor reads it remotely, the fetch fails with "Empty buffer 
received for non empty block" and the partition gets recomputed.

Seen with Kryo and spark.rdd.compress=false. The empty partition serializes to 
0 bytes, but the block's memSize is a size estimate that's > 0, so the empty 
buffer check in fetchRemoteManagedBuffer rejects it.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to