You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gravitino.apache.org by "zuotingbing (via GitHub)" <gi...@apache.org> on 2025/10/10 07:25:18 UTC
[D] error message is misleading, the real reason is "org.apache.gravitino.exceptions.NoSuchEntityException: No such metalake entity: ztb" [gravitino]
GitHub user zuotingbing created a discussion: error message is misleading, the real reason is "org.apache.gravitino.exceptions.NoSuchEntityException: No such metalake entity: ztb"
when i set gravitino.authorization.enable = true, and add a user
curl -X POST -H "Content-Type: application/json" -d '{ "name": "Staff" }' http://localhost:8090/api/metalakes/ztb/users
return the error message like this which is misleading
{"code":1008,"type":"ForbiddenException","message":"User 'anonymous' is not authorized to perform operation 'addUser' on metadata 'ztb'"}
<img width="1230" height="767" alt="image" src="https://github.com/user-attachments/assets/7767b637-a13c-4a1d-b22d-8483c69627a7" />
GitHub link: https://github.com/apache/gravitino/discussions/8779
----
This is an automatically sent email for dev@gravitino.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@gravitino.apache.org
Re: [D] error message is misleading, the real reason is "org.apache.gravitino.exceptions.NoSuchEntityException: No such metalake entity: ztb" [gravitino]
Posted by "zuotingbing (via GitHub)" <gi...@apache.org>.
GitHub user zuotingbing added a comment to the discussion: error message is misleading, the real reason is "org.apache.gravitino.exceptions.NoSuchEntityException: No such metalake entity: ztb"
version 1.0.0
GitHub link: https://github.com/apache/gravitino/discussions/8779#discussioncomment-14644419
----
This is an automatically sent email for dev@gravitino.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@gravitino.apache.org
Re: [D] error message is misleading, the real reason is "org.apache.gravitino.exceptions.NoSuchEntityException: No such metalake entity: ztb" [gravitino]
Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
GitHub user FANNG1 added a comment to the discussion: error message is misleading, the real reason is "org.apache.gravitino.exceptions.NoSuchEntityException: No such metalake entity: ztb"
similar to #7752, cc @jerqi
GitHub link: https://github.com/apache/gravitino/discussions/8779#discussioncomment-14652002
----
This is an automatically sent email for dev@gravitino.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@gravitino.apache.org