spaces-X commented on code in PR #15480:
URL: https://github.com/apache/doris/pull/15480#discussion_r1058890386
##########
fe/fe-core/src/main/java/org/apache/doris/load/loadv2/SparkLoadJob.java:
##########
@@ -695,6 +695,8 @@ private void clearJob() {
// clear job infos that not persist
sparkLoadAppHandle = null;
resourceDesc = null;
+ etlOutputPath = "";
+ appId = "";
Review Comment:
If the job is cancelled by user, the `clearJob()` will be called twice.
Set thess strings to empty,to ensure the idempotency of the `clearJob`
function.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]