ferhui commented on a change in pull request #3052:
URL: https://github.com/apache/hadoop/pull/3052#discussion_r639370323



##########
File path: 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ContentSummary.java
##########
@@ -466,7 +466,9 @@ private String formatSize(long size, boolean humanReadable) 
{
    * @return Constant-width String representation of Erasure Coding Policy
    */
   public String toErasureCodingPolicy() {
-    return String.format(ERASURECODING_POLICY_FORMAT, erasureCodingPolicy);
+    return String.format(ERASURECODING_POLICY_FORMAT,
+        erasureCodingPolicy.equals("Replicated")

Review comment:
       Thanks, i have test replicated file, it shows Replicated.
   I reference to the code of Count.java before HDFS-16018




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to