1996fanrui commented on code in PR #1910:
URL:
https://github.com/apache/incubator-streampark/pull/1910#discussion_r1008726233
##########
streampark-flink/streampark-flink-kubernetes/src/main/scala/org/apache/streampark/flink/kubernetes/watcher/FlinkJobStatusWatcher.scala:
##########
@@ -276,7 +277,9 @@ class FlinkJobStatusWatcher(conf: JobStatusWatcherConfig =
JobStatusWatcherConfi
}
} else if (isConnection) {
logger.info("The deployment is deleted and enters the task failure
process.")
- FlinkJobState.FAILED
+ val jobId = trackId.jobId
+ val archivePath = trackController.flinkArchives.get(jobId)
+ FlinkJobState.of(FetchArchives.fetchArchives(trackId.jobId,
archivePath))
Review Comment:
`val archivePath = trackController.flinkArchives.get(jobId)`
We get `archivePath` from memory cache, I didn't see the `archivePath` store
in mysql.
Please correct me if I'm wrong.
--
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]