diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodesInPath.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodesInPath.java index 8235bf07d52..50ead610c60 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodesInPath.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodesInPath.java @@ -484,7 +484,7 @@ public class INodesInPath { } 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");