804e commented on issue #12553: URL: https://github.com/apache/hudi/issues/12553#issuecomment-3470880863
I have solved this problem on the flink-sql-client. 1. Modify the configuration of the configmap "flink-config-flink-session-test" in flink, change all log levels to DEBUG, and add the log4j-cli.properties configuration. Check the debug log of `sql-client.sh`, and it was found that the kerberos configuration was not loaded when starting, and simple authentication was used. 1. Add the following configuration in the `flink-conf.yaml` configuration file. ``` security.kerberos.login.use-ticket-cache: true security.kerberos.login.keytab: /etc/security/keytabs/hdfs.headless.keytab security.kerberos.login.principal: [email protected] ``` Before starting the sql-client, first use the `kinit` command to initialize the ticket, and then run sql. You will find that the authentication has entered the Kerberos system and can be successfully completed. -- 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]
