Class ErasureCodeConfigurer

java.lang.Object
org.apache.accumulo.core.client.admin.compaction.CompressionConfigurer
org.apache.accumulo.core.client.admin.compaction.ErasureCodeConfigurer
All Implemented Interfaces:
CompactionConfigurer

public class ErasureCodeConfigurer extends CompressionConfigurer

A compaction configurer that extends CompressionConfigurer and adds the ability to control and configure how Erasure Codes work. This plugin accepts the following options, when setting these options on a table prefix them with table.compaction.configurer.opts..

  • Set "erasure.code.size.conversion" to a size in bytes. The suffixes K,M,and G can be used. This is the minimum file size to allow conversion to erasure code. If a file is below this size it will be replicated otherwise erasure coding will be enabled.
  • Set "erasure.code.bypass" to true or false. Setting this to true will bypass erasure codes if the are configured. This options allows initiated compactions to bypass logic in this class if needed.
  • Optionally set "erasure.code.policy" as the policy to use when erasure codes are used. If this is not set, then it will fall back to what is set on the table.
Since:
2.1.4