-
-
Save Arnonrgo/d04a6a6a34d7c6c82e65 to your computer and use it in GitHub Desktop.
a few lines from HBase's regionserver Store.java to show how compaction compression is used
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.compression = family.getCompression(); | |
// avoid overriding compression setting for major compactions if the user | |
// has not specified it separately | |
this.compactionCompression = | |
(family.getCompactionCompression() != Compression.Algorithm.NONE) ? | |
family.getCompactionCompression() : this.compression; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment