[
https://issues.apache.org/jira/browse/SPARK-57656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon updated SPARK-57656:
---------------------------------
Description:
{{SparkSessionE2ESuite}} intermittently fails in CI (master push Build and
Maven JDK 21/25). The first interrupt-all test occasionally fails with a
{{RemoteClassLoaderError}} (for the map closure's TypeTag artifact class)
instead of {{OPERATION_CANCELED}}, because an interrupt can land while the
executor is doing its first-time remote fetch of the closure classes. The
failed assertion then leaves the background interruptor running, which cancels
subsequent tests and cascades into ~7 failures across the suite.
Fix: warm up the map closure once before interrupting so its classes are
already loaded on the executor, and wrap the test body in try/finally so the
interruptor is always stopped.
> Stabilize flaky SparkSessionE2ESuite interrupt-all tests
> --------------------------------------------------------
>
> Key: SPARK-57656
> URL: https://issues.apache.org/jira/browse/SPARK-57656
> Project: Spark
> Issue Type: Test
> Components: Connect
> Affects Versions: 5.0.0
> Reporter: Hyukjin Kwon
> Priority: Major
>
> {{SparkSessionE2ESuite}} intermittently fails in CI (master push Build and
> Maven JDK 21/25). The first interrupt-all test occasionally fails with a
> {{RemoteClassLoaderError}} (for the map closure's TypeTag artifact class)
> instead of {{OPERATION_CANCELED}}, because an interrupt can land while the
> executor is doing its first-time remote fetch of the closure classes. The
> failed assertion then leaves the background interruptor running, which
> cancels subsequent tests and cascades into ~7 failures across the suite.
> Fix: warm up the map closure once before interrupting so its classes are
> already loaded on the executor, and wrap the test body in try/finally so the
> interruptor is always stopped.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]