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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.2.0, 3.0.4, 3.1.2
    • Component/s: erasure-coding
    • Labels:
      None
    • Environment:

      3 Node SUSE Linux Cluster

    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: