Details
-
Sub-task
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
In INodeSymlink's construct method, it will transfer the input symlink string to a byte array. If we want to invoke INodeSymlink#getSymlinkString, it will transfer the byte array to the string again. Since we don't cache symlinkString here, it will do the DFSUtil.bytes2String method every time. It seems not efficient.