HDFS-15847. create client protocol: add ecPolicyName & storagePolicy param to debug statement string. Contributed by Bhavik Patel.
This commit is contained in:
parent
305c4e72c2
commit
6ff5da931f
|
@ -2602,7 +2602,9 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean,
|
||||||
.append(", createFlag=").append(flag)
|
.append(", createFlag=").append(flag)
|
||||||
.append(", blockSize=").append(blockSize)
|
.append(", blockSize=").append(blockSize)
|
||||||
.append(", supportedVersions=")
|
.append(", supportedVersions=")
|
||||||
.append(Arrays.toString(supportedVersions));
|
.append(Arrays.toString(supportedVersions))
|
||||||
|
.append(", ecPolicyName=").append(ecPolicyName)
|
||||||
|
.append(", storagePolicy=").append(storagePolicy);
|
||||||
NameNode.stateChangeLog.debug(builder.toString());
|
NameNode.stateChangeLog.debug(builder.toString());
|
||||||
}
|
}
|
||||||
if (!DFSUtil.isValidName(src) ||
|
if (!DFSUtil.isValidName(src) ||
|
||||||
|
|
Loading…
Reference in New Issue