wForget commented on code in PR #6383: URL: https://github.com/apache/kyuubi/pull/6383#discussion_r1635870830
########## kyuubi-server/src/main/scala/org/apache/kyuubi/engine/flink/FlinkProcessBuilder.scala: ########## @@ -58,14 +61,30 @@ class FlinkProcessBuilder( // flink.execution.target are required in Kyuubi conf currently val executionTarget: Option[String] = conf.getOption("flink.execution.target") + private lazy val proxyUserEnable: Boolean = { + doAsEnabled && conf.get(ENGINE_FLINK_DOAS_ENABLED) && + conf.getOption(s"$FLINK_CONF_PREFIX.$FLINK_SECURITY_KEYTAB_KEY").isEmpty && Review Comment: The implementation of flink proxy user is different from the built-in `--proxy-user` of spark. It relies on `HADOOP_PROXY_USER` and has some limitations. It is difficult for us to control the behavior of the client well. -- 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