Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.3.0
-
None
-
None
Description
In `org/apache/ranger/authorization/hadoop/RangerHdfsAuthorizer.java:456` construct subDir's resourcePath through `resourcePath + Path.SEPARATOR_CHAR + child.getLocalName()', the subDir constructed is incorrect. For example, the initial resourcePath is '/test1', subDir of '/test1/test2/test3' will be /test1/test3, because child.getLocalName() is 'test3'