You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "maomaodev (via GitHub)" <gi...@apache.org> on 2024/09/26 11:04:44 UTC
[I] [Bug] [AUTHZ] Table owner can not update/delete hudi tables they have created [kyuubi]
maomaodev opened a new issue, #6718:
URL: https://github.com/apache/kyuubi/issues/6718
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
### Search before asking
- [X] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues.
### Describe the bug
Kyuubi version 1.9.0, Spark version 3.4.2, Hudi version 0.14.1
1. In Ranger, the user "user_read" has only the permission to create tables, and for "all - database, table, column", the {owner} has ALL permissions.
2. The user "user_read" can successfully create Hudi tables and perform normal inserts.
`create table hudi_db.hudi_t(id bigint, name string, price double, part string) using hudi tblproperties (type='cow',primaryKey ='id');`
`insert into hudi_db.hudi_t values(100, 'apple', 80.5,'part1'),(200, 'apple', 80.5,'part2');`
3. The user "user_read" does not have the permission to update/delete the Hudi tables created.
`update hudi_db.hudi_t set id =150 where id=100;`
The error message is as follows:
`[ERROR] [main] Failed in [update hudi_db.hudi_t set id =150 where id=100] (org.apache.spark.sql.hive.thriftserver.SparkSQLDriver(org.apache.spark.internal.Logging.logError:97))
org.apache.kyuubi.plugin.spark.authz.AccessControlException: Permission denied: user [user_read] does not have [update] privilege on [hudi_db/hudi_t]`
### Affects Version(s)
1.9.0/1.9.2
### Kyuubi Server Log Output
_No response_
### Kyuubi Engine Log Output
_No response_
### Kyuubi Server Configurations
_No response_
### Kyuubi Engine Configurations
_No response_
### Additional context
_No response_
### Are you willing to submit PR?
- [X] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
- [ ] No. I cannot submit a PR at this time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org
Re: [I] [Bug] [AUTHZ] Table owner can not update/delete hudi tables they have created [kyuubi]
Posted by "maomaodev (via GitHub)" <gi...@apache.org>.
maomaodev commented on issue #6718:
URL: https://github.com/apache/kyuubi/issues/6718#issuecomment-2376635637
您好,我是毛立夫。
您的邮件已收到。
祝您生活愉快,身体健康!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org
Re: [I] [Bug] [AUTHZ] Table owner can not update/delete hudi tables they have created [kyuubi]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6718:
URL: https://github.com/apache/kyuubi/issues/6718#issuecomment-2376634546
Hello @maomaodev,
Thanks for finding the time to report the issue!
We really appreciate the community's efforts to improve Apache Kyuubi.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org
Re: [I] [Bug] [AUTHZ] Table owner can not update/delete hudi tables they have created [kyuubi]
Posted by "bowenliang123 (via GitHub)" <gi...@apache.org>.
bowenliang123 closed issue #6718: [Bug] [AUTHZ] Table owner can not update/delete hudi tables they have created
URL: https://github.com/apache/kyuubi/issues/6718
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org