Skip to content

Commit

Permalink
HBASE-28334 Add comment around erasure coding policy in DEFAULT_VALUE…
Browse files Browse the repository at this point in the history
… map (#5662)

Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
  • Loading branch information
nirdosh0110 committed Feb 5, 2024
1 parent c4e332a commit f253453
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ public class TableDescriptorBuilder {
DEFAULT_VALUES.put(DURABILITY, DEFAULT_DURABLITY.name()); // use the enum name
DEFAULT_VALUES.put(REGION_REPLICATION, String.valueOf(DEFAULT_REGION_REPLICATION));
DEFAULT_VALUES.put(PRIORITY, String.valueOf(DEFAULT_PRIORITY));
// Setting ERASURE_CODING_POLICY to NULL so that it is not considered as metadata
DEFAULT_VALUES.put(ERASURE_CODING_POLICY, String.valueOf(DEFAULT_ERASURE_CODING_POLICY));
DEFAULT_VALUES.keySet().stream().map(s -> new Bytes(Bytes.toBytes(s)))
.forEach(RESERVED_KEYWORDS::add);
Expand Down

0 comments on commit f253453

Please sign in to comment.