[ https://issues.apache.org/jira/browse/HDFS-13786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16571545#comment-16571545 ]
Ayush Saxena commented on HDFS-13786: ------------------------------------- [~SouryakantaDwivedy] thanks for reporting this issue. bq.It should display erasure coding policy for sub-directories also with command "hadoop fs -ls -e <dir path>" Yes, EC policy should be displayed for sub dir also. I have fix, would like to upload the patch.. can somebody add me as contributor so that i can upload the patch. > EC: Display erasure coding policy for sub-directories is not working > -------------------------------------------------------------------- > > Key: HDFS-13786 > URL: https://issues.apache.org/jira/browse/HDFS-13786 > Project: Hadoop HDFS > Issue Type: Bug > Components: erasure-coding > Affects Versions: 3.0.0 > Environment: 3 Node SUSE Linux Cluster > Reporter: Souryakanta Dwivedy > Priority: Major > Attachments: Display_EC_Policy_Missing_Sub_Dir.png > > > EC: Display erasure coding policy for sub-directories is not working > - Create a Directory > - Set EC policy for the Directory > - Create a file in-side that Directory > - Create a sub-directory inside the parent directory > - Check the EC policy set for the files and sub-folders of the parent > directory with command > "hadoop fs -ls -e /ecdir" > EC policy will be displayed only for files and missing for > sub-directories,which is wrong behavior > - But if you check the EC policy set of sub-directory with "hdfs ec > -getPolicy <path>" ,it will show > the ec policy > > Actual ouput :- > > Display erasure coding policy for sub-directories is not working with > command "hadoop fs -ls -e <dir path>" > Expected output :- > It should display erasure coding policy for sub-directories also with command > "hadoop fs -ls -e <dir path>" -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org