turboFei commented on issue #2522:
URL:
https://github.com/apache/incubator-kyuubi/issues/2522#issuecomment-1118338726
```
KyuubiBatchYarnClusterSuite:
- open batch session *** FAILED ***
The code passed to eventually never returned normally. Attempted 3578
times over 3.0008272455666667 minutes. Last failure message: FINISHED did not
equal ERROR. (KyuubiBatchYarnClusterSuite.scala:87)
```
Related code:
```
assert(appInfo("state") === "KILLED")
eventually(timeout(3.minutes), interval(50.milliseconds)) {
assert(batchJobSubmissionOp.getStatus.state === ERROR)
}
```
It seems that, in yarn-client mode, even we kill the yarn application, the
local process exit code is still 0.
So, I think that, we need check the application state according to resource
manager state.
--
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: notifications-unsubscr...@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org
For additional commands, e-mail: notifications-h...@kyuubi.apache.org