Spark Security

2019-08-15  本文已影响0人  clive0x

默认用户获取:

1.system property:"user.name"

2.system env:"SPARK_USER"

3.UserGroupInformation.getCurrentUser().getShortUserName()

Spark security开关:

spark.authenticate:false

In YARN and local mode, generate a new secret and store it in the current user's credentials.UGI:“sparkCookie”

Others:Spark CONF >>>spark.authenticate.secret

上一篇 下一篇

猜你喜欢

热点阅读