Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix permission errors when using Read Only HDFS Repository #26714
This PR is specific to the 5.x line, as #22793 in master and 6.x, while unrelated, fixes this problem.
When a user goes to list the available snapshots under a
This PR adds a reproducing test case for the behavior and backports the relevant portions of #22793 - Namely the HDFSPrivilegedInputStream. Additional validations of permissions within privileged blocks are added to the privileged input stream. These validations will be forward-ported to master in a different PR (link).