Intermittent HDFS authorization failures caused by unsafe lazy initialization in CaseSensitiveRecursiveMatcher
Review Request #75414 - Created Nov. 18, 2025 and submitted
| Information | |
|---|---|
| Xuze Yang | |
| ranger | |
| master | |
| RANGER-5403 | |
| Reviewers | |
| anandNadar, ankita.sinha, kirbyzhou, madhan.neethiraj, monika-kachhadiya, prashant, subhrat | |
HDFS plugin may intermittently return incorrect authorization results when evaluating path-based policies.
This issue occurs under concurrent access due to unsafe lazy initialization inside RangerPathResourceMatcher$CaseSensitiveRecursiveMatcher.
more information in https://issues.apache.org/jira/browse/RANGER-5403
Xuze Yang - thank you for the fix. Can you please review couple of suggestions and update the patch?
Change Summary:
mark valueWithoutSeparator and valueWithSeparator as final
Added Files: |
|---|
Change Summary:
mark valueWithoutSeparator and valueWithSeparator as final
Diff: |
Revision 2 (+20 -25) |
|---|
Ship It!