spark 通过keytab 获取认证

/usr/local/spark-2.3.0-bin-2.6.0-cdh5.8.0/bin/spark-submit \
--keytab /home/jj/tl.keytab \
--principal [email protected]  \
--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

猜你喜欢

转载自www.cnblogs.com/jason-dong/p/10244736.html
今日推荐