wolfboys commented on code in PR #3157:
URL:
https://github.com/apache/incubator-streampark/pull/3157#discussion_r1332405027
##########
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/task/FlinkRESTAPIWatcher.java:
##########
@@ -505,6 +505,8 @@ and the status is not obtained this time (flink rest server
is closed),
log.error(
"FlinkRESTAPIWatcher query previous state was canceling and
stopFrom NotFound,savePoint expired!");
savePointService.expire(application.getId());
+ FlinkAppState flinkAppState = FlinkAppState.of(application.getState());
Review Comment:
Hello, thanks for your contribution. We have checked and found that the job
status of the assignment is CANCELED, and it was canceled through StreamaPark.
We consider CANCELED to be a normal stoppage status (manually triggered by the
user). Our current policy is not to issue any alerts for statuses such as
CANCELED and SUCCESS. Only when the assignment FAILED,LOST,CANCELED (not
stopped through Streamapark) will an alert be triggered.
##########
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/task/FlinkRESTAPIWatcher.java:
##########
@@ -505,6 +505,8 @@ and the status is not obtained this time (flink rest server
is closed),
log.error(
"FlinkRESTAPIWatcher query previous state was canceling and
stopFrom NotFound,savePoint expired!");
savePointService.expire(application.getId());
+ FlinkAppState flinkAppState = FlinkAppState.of(application.getState());
Review Comment:
Hello, thanks for your contribution. We have checked and found that the job
status of the assignment is CANCELED, and it was canceled through StreamaPark.
We consider CANCELED to be a normal stoppage status (manually triggered by the
user). Our current policy is not to issue any alerts for statuses such as
CANCELED and SUCCESS. Only when the assignment FAILED,LOST,CANCELED (not
stopped through Streamapark) will an alert be triggered.
--
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]