kingamarton commented on a change in pull request #275:
URL:
https://github.com/apache/incubator-yunikorn-core/pull/275#discussion_r644617296
##########
File path: pkg/scheduler/objects/application_state.go
##########
@@ -106,6 +108,10 @@ func NewAppState() *fsm.FSM {
Name: FailApplication.String(),
Src: []string{Failing.String()},
Dst: Failed.String(),
+ }, {
+ Name: ResumeApplication.String(),
+ Src: []string{New.String(), Accepted.String()},
+ Dst: Resuming.String(),
Review comment:
In all other cases (if the app is Running, Starting or Completing) we
don't fail the application. In this case we just delete the remaining
placeholders and let the application finish. You can see this part here:
https://github.com/apache/incubator-yunikorn-core/blob/master/pkg/scheduler/objects/application.go#L296-L312
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]