[
https://issues.apache.org/jira/browse/HDFS-16041?focusedWorklogId=602077&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-602077
]
ASF GitHub Bot logged work on HDFS-16041:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 26/May/21 02:51
Start Date: 26/May/21 02:51
Worklog Time Spent: 10m
Work Description: tasanuma commented on a change in pull request #3052:
URL: https://github.com/apache/hadoop/pull/3052#discussion_r639364628
##########
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:
IIUC, `erasureCodingPolicy` is an empty string when it is replicated.
```suggestion
erasureCodingPolicy.isEmpty()
```
--
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 602077)
Time Spent: 20m (was: 10m)
> TestErasureCodingCLI fails
> --------------------------
>
> Key: HDFS-16041
> URL: https://issues.apache.org/jira/browse/HDFS-16041
> Project: Hadoop HDFS
> Issue Type: Test
> Components: test
> Affects Versions: 3.4.0
> Reporter: Hui Fei
> Assignee: Hui Fei
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Because of HDFS-16018, TestErasureCodingCLI fails, reported by HDFS-13671
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]