HDFS-15847. create client protocol: add ecPolicyName & storagePolicy param to debug statement string. Contributed by Bhavik Patel.

This commit is contained in:
Ayush Saxena 2021-02-23 19:08:38 +05:30
parent 305c4e72c2
commit 6ff5da931f

View File

@ -2602,7 +2602,9 @@ private HdfsFileStatus startFileInt(String src,
.append(", createFlag=").append(flag)
.append(", blockSize=").append(blockSize)
.append(", supportedVersions=")
.append(Arrays.toString(supportedVersions));
.append(Arrays.toString(supportedVersions))
.append(", ecPolicyName=").append(ecPolicyName)
.append(", storagePolicy=").append(storagePolicy);
NameNode.stateChangeLog.debug(builder.toString());
}
if (!DFSUtil.isValidName(src) ||