Details
-
Sub-task
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
Incompatible change, Reviewed
-
Use configuration properties io.erasurecode.codec.{rs-legacy,rs,xor}.rawcoders to control erasure coding codec. These properties support codec fallback in case the previous codec is not loaded.
Description
The current EC codec supports a single coder only (by default pure Java implementation). If the native coder is specified but is unavailable, it should fallback to pure Java implementation.
One possible solution is to follow the convention of existing Hadoop native codec, such as transport encryption (see CryptoCodec.java). It supports fallback by specifying two or multiple coders as the value of property, and loads coders in order.
Attachments
Attachments
Issue Links
- is depended upon by
-
HADOOP-14297 Update the documentation about the new ec codecs config keys
- Resolved
- is related to
-
HADOOP-13200 Implement customizable and configurable erasure coders
- Resolved
- relates to
-
HADOOP-13061 Refactor erasure coders
- Resolved