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

Ensure to use CLI command to enable/disable erasure coding policy

    Details

    • Target Version/s:
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      dfs.namenode.ec.policies.enabled was removed in order to ensure there is only one approach to enable/disable erasure coding policies to avoid sync up.

      Description

      Currently, there are two methods for user to enable/disable a erasure coding policy. One is through "dfs.namenode.ec.policies.enabled" property which is a static way to configure the enabled erasure coding policies. Another is through "enableErasureCodingPolicy" or "disabledErasureCodingPolicy" API which can enabled or disable erasure coding policy at runtime.
      When Namenode restart, there is potential state conflicts between the policy defined in "dfs.namenode.ec.policies.enabled" and policy saved in fsImage. To resolve the conflict and simplify the operation, it's better to use just one way and remove the old method configuring the property.

        Attachments

        1. HDFS-12414.001.patch
          75 kB
          Sammi Chen
        2. HDFS-12414.002.patch
          77 kB
          Sammi Chen
        3. HDFS-12414.003.patch
          77 kB
          Sammi Chen
        4. HDFS-12414.004.patch
          78 kB
          Sammi Chen
        5. HDFS-12414.005.patch
          81 kB
          Sammi Chen
        6. HDFS-12414.006.patch
          81 kB
          Kai Zheng

          Activity

            People

            • Assignee:
              Sammi Sammi Chen
              Reporter:
              Sammi Sammi Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: