Andrew Kyle Purtell created HBASE-26316:
-------------------------------------------
Summary: Per-table or per-CF compression codec setting overrides
Key: HBASE-26316
URL: https://issues.apache.org/jira/browse/HBASE-26316
Project: HBase
Issue Type: Sub-task
Components: HFile
Affects Versions: 2.5.0, 3.0.0-alpha-2
Reporter: Andrew Kyle Purtell
Assignee: Andrew Kyle Purtell
Fix For: 2.5.0, 3.0.0-alpha-2
This won't work as expected today...
{noformat}
hbase> create 'sometable', \
{ NAME => 'somefamily', VERSIONS => 1000, COMPRESSION => 'ZSTD' }, \
CONFIGURATION => { 'hbase.io.compress.zstd.level' => '9' }
{noformat}
... but it should. We get and retain Compressor instances in
HFileBlockDefaultEncodingContext, and could in theory call Compressor#reinit to
update compression parameters like compression level and buffer size, but we do
not plumb through the CompoundConfiguration from the Store into
HFileBlockDefaultEncodingContext. Instead can only update codec parameters
globally in system site conf files.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)