[jira] [Commented] (HBASE-27323) Support to take the initiative to compact cold large files and compression diff hfiles after changing storefile compression algrithm

2024-01-13 Thread Bryan Beaudreault (Jira)


[ 
https://issues.apache.org/jira/browse/HBASE-27323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17806348#comment-17806348
 ] 

Bryan Beaudreault commented on HBASE-27323:
---

Moving out of 2.6.0

> Support to take the initiative to compact cold large files and compression 
> diff hfiles after changing storefile compression algrithm 
> -
>
> Key: HBASE-27323
> URL: https://issues.apache.org/jira/browse/HBASE-27323
> Project: HBase
>  Issue Type: Improvement
>  Components: Compaction
>Affects Versions: 3.0.0-alpha-3, 2.4.13
>Reporter: Xiaolin Ha
>Priority: Major
> Fix For: 3.0.0-beta-2
>
>
> We can set switch to enable this feature, to make the compression algrithm 
> changes be applied to all the existing store files, especially when we make a 
> lower space usage compression algrithm change, e.g. from LZO to ZSTD can save 
> more than 30% spaces.
> All the compaction policies should support this feature.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-27323) Support to take the initiative to compact cold large files and compression diff hfiles after changing storefile compression algrithm

2022-08-24 Thread Xiaolin Ha (Jira)


[ 
https://issues.apache.org/jira/browse/HBASE-27323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17584572#comment-17584572
 ] 

Xiaolin Ha commented on HBASE-27323:


Yes, they are definitely different things.

The attribute "COMPRESSION_COMPACT, COMPRESSION_COMPACT_MAJOR, 
COMPRESSION_COMPACT_MINOR" aims to support different compression algorithms for 
one column family from the COMPRESSION type. I think it can use different 
compressions for recently flushed and colder data, since in some circumstances 
hot data are more recently and can used faster algorithms, while colder can use 
higher ratio algorithms. 

In this issue, it can support to quickly apply the changed compression 
algorithm to ALL the store files through the regular MINOR compactions, though 
there are some cold large files that rare participate in minor compactions. 
When we only change the "COMPRESSION" attribute, all the different compression 
algorithm store files whatever is large or small, should be rewrite to the new 
compression algorithm.

> Support to take the initiative to compact cold large files and compression 
> diff hfiles after changing storefile compression algrithm 
> -
>
> Key: HBASE-27323
> URL: https://issues.apache.org/jira/browse/HBASE-27323
> Project: HBase
>  Issue Type: Improvement
>  Components: Compaction
>Affects Versions: 3.0.0-alpha-3, 2.4.13
>Reporter: Xiaolin Ha
>Priority: Major
> Fix For: 2.6.0, 3.0.0-alpha-4
>
>
> We can set switch to enable this feature, to make the compression algrithm 
> changes be applied to all the existing store files, especially when we make a 
> lower space usage compression algrithm change, e.g. from LZO to ZSTD can save 
> more than 30% spaces.
> All the compaction policies should support this feature.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-27323) Support to take the initiative to compact cold large files and compression diff hfiles after changing storefile compression algrithm

2022-08-24 Thread Bryan Beaudreault (Jira)


[ 
https://issues.apache.org/jira/browse/HBASE-27323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17584242#comment-17584242
 ] 

Bryan Beaudreault commented on HBASE-27323:
---

Is this different from setting one of COMPRESSION_COMPACT, 
COMPRESSION_COMPACT_MAJOR, COMPRESSION_COMPACT_MINOR?

> Support to take the initiative to compact cold large files and compression 
> diff hfiles after changing storefile compression algrithm 
> -
>
> Key: HBASE-27323
> URL: https://issues.apache.org/jira/browse/HBASE-27323
> Project: HBase
>  Issue Type: Improvement
>  Components: Compaction
>Affects Versions: 3.0.0-alpha-3, 2.4.13
>Reporter: Xiaolin Ha
>Priority: Major
> Fix For: 2.6.0, 3.0.0-alpha-4
>
>
> We can set switch to enable this feature, to make the compression algrithm 
> changes be applied to all the existing store files, especially when we make a 
> lower space usage compression algrithm change, e.g. from LZO to ZSTD can save 
> more than 30% spaces.
> All the compaction policies should support this feature.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)