spark 通过keytab 获取认证
1 2 3 4 5 6 7 8 9 10 11 12 13 | /usr/local/spark- 2.3 . 0 -bin- 2.6 . 0 -cdh5. 8.0 /bin/spark-submit \ --keytab /home/jj/tl.keytab \ --principal vf @FC .COM \ -- class com.bb.sailer.engine_client.JobAa9d67c8c46843349043610b6d7b21dd \ --master yarn \ --deploy-mode client \ --name flow_1547016972595_ocdwlgoz \ --verbose \ --driver-memory 2G --num-executors 4 \ --executor-cores 2 --executor-memory 4G \ --conf spark. default .parallelism= 16 \ --conf spark.ui.showConsoleProgress= true \ target/sailer-engine-client- 1.0 -SNAPSHOT.jar |
"KDC can't fulfill requested option while renewing credentials" errors when running Db2 Big SQL statements on a Kerberized cluster
When running Db2® Big SQL statements on a Kerberized cluster, you might encounter Kerberos key distribution center (KDC) errors about credentials renewal in the bigsql.log file.
Symptoms
The following exception is an example of the type of error that you might encounter:Causes
This error occurs when the KDC fails to generate a renewable ticket-granting ticket (TGT).Resolving the problem
- To ensure that a TGT is generated and renewed appropriately while Db2 Big SQL processes are running, set up the max_renewable_life parameter appropriately in the realms section of the /var/kerberos/krb5kdc/kdc.conf file on the Kerberos server. This step is not required on the client side.
In the following example max_renewable_life is set to 7 days:For the renewal policy to work, you must also run the following command on the KDC host:
- Specify or modify the maximum renewable life of tickets (maxrenewlife) parameter for the service principals to enable long running processes (such as LOAD) to run and complete.
The following example shows how to modify maxrenewlife for the bigsql and hive service principals on node bdavm750.svl.ibm.com from the kadmin command line prompt. Be sure to modify maxrenewlife for the bigsql and hive service principals on all nodes.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通