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
1 changed files with 3 additions and 1 deletions

View File

@ -2602,7 +2602,9 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean,
.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) ||