Skip to content

Commit

Permalink
HubSpot Edit: Add an hbase-site.xml to our bundles that configures ZS…
Browse files Browse the repository at this point in the history
…tdCodec (#73)

* write a hubspot-specific hbase-site.xml

* extend comment

---------

Co-authored-by: Charles Connell <[email protected]>
  • Loading branch information
charlesconnell and charlesconnell committed Dec 20, 2024
1 parent 3d60615 commit 24d2946
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<!-- HBase clients that wish to read zstd HFiles must use the
same codec that wrote them on the RegionServers.
Compression.java reads its codec choice from HBaseConfiguration.create(),
so this setting must be supplied on the classpath, not programmatically. -->
<name>hbase.io.compress.zstd.codec</name>
<value>org.apache.hadoop.hbase.io.compress.zstd.ZstdCodec</value>
</property>
</configuration>

0 comments on commit 24d2946

Please sign in to comment.