You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Souryakanta Dwivedy (JIRA)" <ji...@apache.org> on 2018/08/02 09:56:00 UTC

[jira] [Created] (HDFS-13786) EC: Display erasure coding policy for sub-directories is not working

Souryakanta Dwivedy created HDFS-13786:
------------------------------------------

             Summary: 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
         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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org