Skip to content

HBASE-30563 Erasure-coded tables should be allowed on filesystems that don't support erasure coding - #8933

Open
charlesconnell wants to merge 1 commit into
apache:masterfrom
HubSpot:HBASE-30563/erasure-coding-best-effort
Open

charlesconnell wants to merge 1 commit into
apache:masterfrom
HubSpot:HBASE-30563/erasure-coding-best-effort

Conversation

@charlesconnell

Copy link
Copy Markdown
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant