Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
INode#getFullPathName walks up the inode tree, creates a INode[], converts each component byte[] name to a String while building the path. This involves many allocations, copies, and char conversions.
The path should be built with a single byte[] allocation.
Attachments
Attachments
Issue Links
- breaks
-
HDFS-12832 INode.getFullPathName may throw ArrayIndexOutOfBoundsException lead to NameNode exit
- Resolved
- requires
-
HDFS-10655 Fix path related byte array conversion bugs
- Resolved