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 da8c356 commit 8409eacCopy full SHA for 8409eac
kyuubi-server/src/main/scala/org/apache/kyuubi/operation/BatchJobSubmission.scala
@@ -162,12 +162,13 @@ class BatchJobSubmission(
162
}
163
164
private def getAppState(
165
- operState: OperationState,
+ opState: OperationState,
166
appState: ApplicationState.ApplicationState): ApplicationState.ApplicationState = {
167
- if (state == OperationState.ERROR && !ApplicationState.isTerminated(appState)) {
+ if (opState == OperationState.ERROR && !ApplicationState.isTerminated(appState)) {
168
ApplicationState.UNKNOWN
169
+ } else {
170
+ appState
171
- appState
172
173
174
override def getOperationLog: Option[OperationLog] = Option(_operationLog)
0 commit comments