turboFei commented on issue #1754: URL: https://github.com/apache/incubator-kyuubi/issues/1754#issuecomment-1085502551
## KVStore ``` def get[T](key: String): T def set(key: String, value: Object): Unit def keySet(size: Int): Seq[String] def count(): Int def remove(key: String): Unit ``` <img width="937" alt="image" src="https://user-images.githubusercontent.com/6757692/161211397-3102783e-9e10-4dc4-a85f-15b9e6473426.png"> ## Session/OperationManager recovery ``` def init(conf: KyuubiConf): Unit = { // … store = … } store.set(...) store.get(...) store.remove(...) // recover from the state store def recover(): Unit = { store.keySet(0).foreach { … } } ``` ## Engine connection recovery - Kyuubi Engine SessionManager reserve the sessionHandle and SparkSession mapping - Support to recover the internal connection between kyuubi server and kyuubi engine -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
