You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2021/04/09 20:36:50 UTC

[GitHub] [hbase] apurtell commented on pull request #3142: HBASE-25756 Support alternate compression for major and minor compactions

apurtell commented on pull request #3142:
URL: https://github.com/apache/hbase/pull/3142#issuecomment-816958148


   I have a private patch that adds LMZA codec support. Not important here. You could use BZIP2. Anyway:
   
       hbase> create 'TestTable', { NAME => 'info', COMPRESSION => 'ZSTD', COMPRESSION_COMPACT_MAJOR => 'LZMA' }
   
   has the expected effect. Algorithm used for flushes and minor compactions is ZSTD. Then:
   
       hbase> major_compact 'TestTable'
   
       2021-04-09 13:19:17,411 INFO  [regionserver/apurtell-ltm:8121-longCompactions-1] regionserver.HRegion:
           Starting compaction of 86e79049969a36f93250c99f44b6ae90/info0 in
           TestTable,00000000000000000500028413,1617996213532.86e79049969a36f93250c99f44b6ae90.
       ...
       2021-04-09 13:19:17,449 INFO  [regionserver/apurtell-ltm:8121-longCompactions-0]
       compress.CodecPool: Got brand-new compressor [.lzma]
       2021-04-09 13:19:17,487 INFO  [regionserver/apurtell-ltm:8121-longCompactions-1]
       compress.CodecPool: Got brand-new compressor [.lzma]
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org