Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
There are several issues with our current path resolving process:
- For a single operation we may repeat resolving the same path
- Each operation needs to invoke multiple calls for path resolving, including handling reserved path, breaking the path into components, identifying corresponding inodes etc. This makes the path resolving process hard to follow.
- The logic in INodesInPath is complicated and not direct.
Ideally for each operation we should only resolve the path once in the beginning, and always use the INodesInPath instance afterwards. This requires a lot of code cleanup. We will use this jira as the umbrella jira to track all the efforts.
Attachments
1.
|
Avoid resolving path in FSPermissionChecker | Closed | Jing Zhao | |
2.
|
Simplify the logic in INodesInPath | Closed | Jing Zhao | |
3.
|
Avoid resolving path multiple times | Closed | Jing Zhao | |
4.
|
Avoid path resolution when getting FileStatus for audit logs | Closed | Haohui Mai | |
5.
|
Minor followon cleanups from HDFS-7543 | Patch Available | Unassigned |