Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spark-sql部分权限控制缺失 #31

Open
ymy2016 opened this issue Nov 20, 2019 · 1 comment
Open

spark-sql部分权限控制缺失 #31

ymy2016 opened this issue Nov 20, 2019 · 1 comment

Comments

@ymy2016
Copy link

ymy2016 commented Nov 20, 2019

对比hive beeline
1、spark-sql只控制了select权限,在ranger上没授权的表,show tables无法查看到
2、但是ranger上没给update权限,spark-sql这边可以insert into操作,但hive的beeline是提示Permission denied
3、drop的权限也类似2中描述
4、通过打印日志查看,spark-sql实质是走了ranger上的policy,但是update权限、drop权限却没法控制

@yaooqinn
Copy link
Owner

多谢测试,希望您能够将这些贡献给新的项目 https://github.com/yaooqinn/spark-ranger,后期主要在该项目上进行维护,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants