Skip to content

[Improvement]: Missing doAs wrapper in MixedTableOperations #4159

@slfan1989

Description

@slfan1989

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions