Documentation
ODP 3.3.6.3-1
Release Notes
What is ODP
Installation
Component User guide and Installation Instructions
Upgrade Instructions
Downgrade Instructions
Reference Guide
Security Guide
Troubleshooting Guide
Uninstall ODP
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Using Erasure Coding for Existing Data
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
You must set a supported EC policy for a directory and copy the existing data to the directory. Since Erasure Coding does not apply to existing data, we need to recreate the directory and then move the data to an erasure coding enabled directory.
Create a new directory or choose an existing directory.
- View the supported EC policies.
Bash
hdfs ec -listPolicies- Enable a supported EC policy.
Bash
hdfs ec -enablePolicy -policy <policy>- Set the EC policy for the directory you want to use.
Bash
hdfs ec -setPolicy -path <directory> [-policy <policyName>]path:This is mandatory. Specify the HDFS directory you want to apply the EC policy to.policy:This is optional. The EC policy you want to use for the directory you specified. If you do not provide this parameter, the EC policy you specified in the Default Policy when Setting Erasure Coding setting from Ambari is used.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on Mar 14, 2025
Was this page helpful?
Next to read:
Using Erasure Coding for New DataDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message