美文网首页
Spark Security

Spark Security

作者: clive0x | 来源:发表于2019-08-15 22:19 被阅读0次

    默认用户获取:

    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

    相关文章

      网友评论

          本文标题:Spark Security

          本文链接:https://www.haomeiwen.com/subject/sxztsctx.html