##增加Kerberos认证,使用xxx.keytabl秘钥
spark-submit --principal yong_hu_ming@xxx.COM \
--keytab yong_hu_ming.keytab \
--class com.xx.compute.Job20200525 \
--master yarn \
--deploy-mode cluster \
--num-executors 90 \
--driver-memory 7g \
--executor-memory 7g \
--executor-cores 4 \
--queue thequeue \
--jars mysql-connector-java-5.1.39.jar \
本文介绍如何在Spark任务提交中配置Kerberos认证,包括使用特定的用户名、密钥表路径、主类、资源管理器类型、部署模式等参数。同时,详细展示了如何设置执行器数量、内存大小、核心数以及队列名称和附加JAR包。
606

被折叠的 条评论
为什么被折叠?



