SEPURI-SAI-KRISHNA commented on PR #13156: URL: https://github.com/apache/seatunnel/pull/13156#issuecomment-7273745985
An update after merging current dev into this branch (not pushed yet). #13288, merged on 11-29, made the Cassandra writer's `abortPrepare()` close its session, and Spark's `abort()` calls `abortPrepare()`. I measured the effect: with dev's `SeaTunnelSpark` (without this PR) and dev's Cassandra connector, `testFailedJobEndsWhileTheSinkWriterIsOpen` passes on Spark 2.4.6 and 3.3.0. The failed job now exits on its own, and every stack trace shows dev's `SeaTunnelSpark.java:35`. So the Cassandra case of #13155 is fixed on dev, and this test no longer shows a need for this change. The change would still end a local mode job whose sink keeps non-daemon threads after `abortPrepare()`, but I have no current connector that does. Two options: 1. Keep it as a general guard, with the Cassandra test replaced by a test-only sink that holds a non-daemon thread and does nothing in `abortPrepare()`. 2. Close this PR, and #13155 as fixed by #13288. Which do you prefer? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
