Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13786

EC: Display erasure coding policy for sub-directories is not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.2.0, 3.0.4, 3.1.2
    • erasure-coding
    • None
    • 3 Node SUSE Linux Cluster

    • Reviewed

    Description

      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>"

      Attachments

        1. HDFS-13786-01.patch
          3 kB
          Ayush Saxena
        2. Display_EC_Policy_Missing_Sub_Dir.png
          98 kB
          Souryakanta Dwivedy

        Activity

          People

            ayushtkn Ayush Saxena
            SouryakantaDwivedy Souryakanta Dwivedy
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: