kyuubi-1.7.1 对接华为mrs 3.2.0 #5194
Unanswered
boombap9527
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Late comers first? |
Beta Was this translation helpful? Give feedback.
3 replies
-
what's the table format? could you paste the execution plan? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
当前通过kyuubi对接spark和ranger遇到一些问题 ,kyuubi对接spark正常,可正常像yarn提交spark任务,编译kyuubi-spark-authz jar包和对接ranger控制用户权限存在问题,目前集群无报错,配置未生效
环境背景:
kyuubi 版本 1.7.1

hadoop集群为华为云服务mrs 3.2.0
spark 版本为 3.1.1 (华为云mrs服务)

ranger 版本为2.0.0 (华为云mrs服务)

1. kyuubi 配置如下
[root@hw-id-bigdata-prod-kyuubi-01 conf]# cat kyuubi-defaults.conf
[root@hw-id-bigdata-prod-kyuubi-01 conf]# cat kyuubi-env.sh
[root@hw-id-bigdata-prod-kyuubi-01 conf]# cat /etc/profile
2. 编译jar包命令为
包含以下jar包
3. spark环境配置
[omm@hw-id-bigdata-prod-kyuubi-01 conf]$ cat spark-defaults.conf | grep 'spark.sql.extensions'
[omm@hw-id-bigdata-prod-kyuubi-01 conf]$ cat ranger-spark-audit.xml
[omm@hw-id-bigdata-prod-kyuubi-01 conf]$ cat ranger-spark-security.xml
4. 当前现状
1.ranger 配置



新增sparkServer配置
2.内部配置如下
3.规则配置如下,拒绝此用户对所有库表的权限
4.当我使用此用户链接kyuubi以后,拒绝所有的权限并未生效



5.依然可以查看库表内容
如下
Beta Was this translation helpful? Give feedback.
All reactions