### Why are the changes needed?
Currently, NOT_FOUND application stated is treated as a terminated but not failed state.
It might cause some data quality issue if downstream application depends on the batch state for data processing.
So, I think we should treat NOT_FOUND as a failed state instead.
Currently, we support 3 types of application manager.
1. [JpsApplicationOperation](https://github.com/apache/kyuubi/blob/master/kyuubi-server/src/main/scala/org/apache/kyuubi/engine/JpsApplicationOperation.scala)
2. [YarnApplicationOperation](https://github.com/apache/kyuubi/blob/master/kyuubi-server/src/main/scala/org/apache/kyuubi/engine/YarnApplicationOperation.scala)
3. [KubernetesApplicationOperation](https://github.com/apache/kyuubi/blob/master/kyuubi-server/src/main/scala/org/apache/kyuubi/engine/KubernetesApplicationOperation.scala)
YarnApplicationOperation and KubernetesApplicationOperation are widely used in production use case.
And in multiple kyuubi instance mode, the NOT_FOUND case should rarely happen.
1.
|
||
|---|---|---|
| .. | ||
| src | ||
| web-ui | ||
| pom.xml | ||