GitHub user rubberliu edited a discussion: [REST] [MetaStore] Kyuubi metastore fails to store SQL session_type metadata
Hello, I have a question about the metastore. I use kyuubi 1.9.2 and the rest mode. Firstly, I submit a batch jar using: `curl --location --request POST 'url:port/api/v1/batches' \ --form 'batchRequest="{\"batchType\":\"SPARK\",\"className\":\"org.apache.spark.examples.SparkPi\",\"name\":\"kyuubi-spark-pi\", \"resource\":\"path/jars/spark-examples_2.12-3.3.1.jar\"}";type=application/json'` and found the metastore work:  then I submit a session sql using: `curl -X 'POST' \ 'url:port/api/v1/sessions' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "configs": { "xxx": "xxx" } }'` but found **nothing in metastore.** the kyuubi configurations about metastore I use: - kyuubi.metadata.store.jdbc.database.type MYSQL - kyuubi.metadata.store.jdbc.url jdbc:mysql://xxxxx:3306/kyuubi - kyuubi.metadata.store.jdbc.user <user> - kyuubi.metadata.store.jdbc.password <password> - kyuubi.metadata.store.jdbc.driver com.mysql.cj.jdbc.Driver It seems like kyuubi supports SQL or BATCH session type, but I can only enable batch mode. How can I make session mode work? GitHub link: https://github.com/apache/kyuubi/discussions/7059 ---- This is an automatically sent email for notifications@kyuubi.apache.org. To unsubscribe, please send an email to: notifications-unsubscr...@kyuubi.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org For additional commands, e-mail: notifications-h...@kyuubi.apache.org