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

when set replicate EC policy for a directory or file,it's EC policy cannot be querying by getPolicy command.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When i set replicate EC policy for ecDir,then query it by getPolicy,it return ‘The erasure coding policy of /ecDir is unspecified', as follow.

      [root@master bin]# hdfs dfs -mkdir /ecDir
      [root@master bin]# hdfs ec -setPolicy -path /ecDir -replicate
      Set erasure coding policy replication on /ecDir
      [root@master bin]# hdfs ec -getPolicy -path /ecDir
      The erasure coding policy of /ecDir is unspecified

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                candychencan chencan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: