Skip to content

Commit 18a9b3e

Browse files
committed
update migration guide as well as format change
1 parent 14d6253 commit 18a9b3e

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

docs/deployment/migration-guide.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
* Since Kyuubi 1.12, the support of variable `<KYUUBI_HOME>` substitution in config `kyuubi.metadata.store.jdbc.url` is deprecated, use `{{KYUUBI_HOME}}` instead.
2323
* Since Kyuubi 1.12, default value of `kyuubi.metrics.json.location` is changed to `{{KYUUBI_HOME}}/metrics`, to restore previous behavior, change it to `{{KYUUBI_WORK_DIR_ROOT}}/metrics`.
24+
* Since Kyuubi 1.12, session configurations in REST API responses are redacted by default using `kyuubi.server.redaction.regex`. Use `kyuubi.server.conf.retrieveMode` to control this behavior: `REDACTED` (default), `ORIGINAL` (no redaction), or `NONE` (omit configs entirely).
2425
* Since Kyuubi 1.12, `GET /api/v1/sessions` returns only sessions owned by the authenticated user instead of all sessions on the server. To restore the previous behavior, set `kyuubi.frontend.rest.legacy.v1.sessionsReturnAllUsers=true`.
2526
* Since Kyuubi 1.12, the configuration `spark.sql.kyuubi.hive.connector.dropTableAsPurgeTable` is introduced by Kyuubi Spark Hive connector(KSHC) to control whether DROP TABLE command completely remove its data by skipping HDFS trash. The default value is false. To restore the legacy behavior, set it to true.
2627

kyuubi-server/src/test/scala/org/apache/kyuubi/server/api/v1/SessionsResourceSuite.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ class SessionsResourceSuite extends KyuubiFunSuite with RestFrontendTestHelper {
462462

463463
private def withSessionConfDisplayMode(mode: String)(f: => Unit): Unit = {
464464
conf.set(KyuubiConf.SERVER_CONF_RETRIEVE_MODE, mode)
465-
try f finally conf.set(KyuubiConf.SERVER_CONF_RETRIEVE_MODE, "REDACTED")
465+
try f
466+
finally conf.set(KyuubiConf.SERVER_CONF_RETRIEVE_MODE, "REDACTED")
466467
}
467468
}

0 commit comments

Comments
 (0)