HDFS-13598. Reduce unnecessary byte-to-string transform operation in INodesInPath#toString. Contributed by Gabor Bota.
This commit is contained in:
parent
d996479954
commit
7a87add4ea
@ -484,7 +484,7 @@ private String toString(boolean vaildateObject) {
|
||||
}
|
||||
|
||||
final StringBuilder b = new StringBuilder(getClass().getSimpleName())
|
||||
.append(": path = ").append(DFSUtil.byteArray2PathString(path))
|
||||
.append(": path = ").append(getPath())
|
||||
.append("\n inodes = ");
|
||||
if (inodes == null) {
|
||||
b.append("null");
|
||||
|
Loading…
Reference in New Issue
Block a user