-
Notifications
You must be signed in to change notification settings - Fork 383
[Improvement]: Missing doAs wrapper in MixedTableOperations #4159
Copy link
Copy link
Closed
Labels
Description
Search before asking
- I have searched in the issues and found no similar issues.
What would you like to be improved?
What happened?
In MixedTableOperations.java, the metadataFileLocation() and locationProvider() methods are missing the authenticatedFileIO.doAs() wrapper, while the same methods in the temp() implementation do have this wrapper. This inconsistency can lead to permission errors in authenticated environments (e.g., Kerberos).
Expected behavior:
All file I/O operations should be wrapped with authenticatedFileIO.doAs() to ensure consistent authentication context.
Actual behavior:
The metadataFileLocation() and locationProvider() methods in the main class lack the doAs() wrapper, while other methods like current(), refresh(), and commit() properly use it.
How should we improve?
add the missing doAs() wrappers to ensure all operations run with the correct authentication context.
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Subtasks
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable