Charles Connell created HBASE-30563:
---------------------------------------
Summary: Erasure-coded tables should be allowed on filesystems
that don't support erasure coding
Key: HBASE-30563
URL: https://issues.apache.org/jira/browse/HBASE-30563
Project: HBase
Issue Type: Improvement
Reporter: Charles Connell
Assignee: Charles Connell
At present, if a table descriptor includes an {{ERASURE_CODING_POLICY}}, then
{{TableDescriptorChecker}} will throw if the cluster uses a filesystem other
than {{DistributedFileSystem}}. I see the logic here, because it ensures that
erasure coding will be used if it's been configured.
In practice, this behavior makes it impossible to restore a table containing an
{{ERASURE_CODING_POLICY}} onto a cluster that doesn't use HDFS for its root
dir. I propose that {{ErasureCodingUtils.verifySupport()}} no-op when not
operating on a {{DistributedFileSystem}}, to enable these kinds of table
restorations.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)