We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64f96a2 commit 73b77b3Copy full SHA for 73b77b3
kyuubi-server/src/main/scala/org/apache/kyuubi/operation/BatchJobSubmission.scala
@@ -162,7 +162,7 @@ class BatchJobSubmission(
162
}
163
164
private def getAppState(operState: OperationState, appState: ApplicationState.ApplicationState): ApplicationState.ApplicationState = {
165
- if (state == OperationState.ERROR && appState != ApplicationState.FAILED) {
+ if (state == OperationState.ERROR && !ApplicationState.isTerminated(appState)) {
166
ApplicationState.UNKNOWN
167
168
appState
0 commit comments