tiennguyen-onehouse commented on issue #11971:
URL: https://github.com/apache/gravitino/issues/11971#issuecomment-4930371326

   Closing this. On further investigation I could not reproduce the impact I 
originally described.
   
   - The `"The role(...) does not exist in the Ranger!"` warning fires only 
during **role creation**, where the role genuinely does not exist yet and 
Gravitino correctly proceeds to create it — i.e., benign.
   - For **existing** roles, `getRangerRole` reads them correctly (verified by 
exercising grant/revoke/member changes on a role already present in Ranger — no 
warning, no failed re-create, no swallowed error).
   - The original warning I observed came from an environment with heavy role 
churn; it was the benign create-time path, not a misread of an existing role.
   
   The only real point that remains is a minor robustness one — distinguishing 
"not found" from "permission denied" via an English substring match on the 
Ranger error message is fragile — but since I have no demonstrated user-facing 
impact, that doesn't warrant an open bug. Apologies for the premature report.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to