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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: