[ https://issues.apache.org/jira/browse/HDFS-11646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16050936#comment-16050936 ]
Lei (Eddy) Xu commented on HDFS-11646: -------------------------------------- Hi, [~luhuichun] Sorry, I should make my comments more clear. In {{Ls#processPath}}, it prints EC policy using {{String.format(lineFormat, ....)}}, while the placeholder of ec policy name is not set from {{adjustColumnWidths()}}. So It does not to print path if {{displayPolicy}} is enabled. The test {{testErasureCodingConf.xml}} seemed not to catch this bug. Could you fix it? Thanks! > Add -E option in 'ls' to list erasure coding policy of each file and > directory if applicable > -------------------------------------------------------------------------------------------- > > Key: HDFS-11646 > URL: https://issues.apache.org/jira/browse/HDFS-11646 > Project: Hadoop HDFS > Issue Type: Improvement > Components: erasure-coding > Reporter: SammiChen > Assignee: luhuichun > Labels: hdfs-ec-3.0-nice-to-have > Attachments: HDFS-11646-001.patch, HDFS-11646-002.patch, > HDFS-11646-003.patch, HDFS-11646-004.patch > > > Add -E option in "ls" to show erasure coding policy of file and directory, > leverage the "number_of_replicas " column. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org