ec

Runs the ErasureCoding CLI.

The usage is as follows:

$ hdfs ec [generic options]
     [-setPolicy -policy <policyName> -path <path>]
     [-getPolicy -path <path>]
     [-unsetPolicy -path <path>]
     [-listPolicies]
     [-addPolicies -policyFile <file>]
     [-listCodecs]
     [-enablePolicy -policy <policyName>]
     [-disablePolicy -policy <policyName>]
     [-removePolicy -policy <policyName>]
     [-verifyClusterSetup -policy <policyName>...<policyName>]
     [-help [cmd ...]]
Arguments

-setPolicy

Sets a specified ErasureCoding policy to a directory

-getPolicy

Gets ErasureCoding policy information about a specified path

-unsetPolicy

Unsets an ErasureCoding policy set by a previous call to setPolicy on a directory

-listPolicies

Lists all supported ErasureCoding policies

-addPolicies

Adds a list of erasure coding policies

-listCodecs

Gets the list of supported erasure coding codecs and coders in system

-enablePolicy

Enables an ErasureCoding policy in system

-disablePolicy

Disables an ErasureCoding policy in system

-removePolicy

Removes an ErasureCoding policy from system

-verifyClusterSetup

Verifies if the cluster setup can support a list of erasure coding policies

Found a mistake? Seleсt text and press Ctrl+Enter to report it