HBASE-5605 [jira] compression does not work in Store.java
Author: Yongqiang He Summary: need to pass compression parameter to WriterBuilder Test Plan: one simple and straightforward change Reviewers: mbautin Reviewed By: mbautin CC: tedyu Differential Revision: https://reviews.facebook.net/D2391 git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1303150 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2f58da0489
commit
b4dccf9198
@ -835,6 +835,7 @@ public class Store extends SchemaConfigured implements HeapSize {
|
|||||||
.withMaxKeyCount(maxKeyCount)
|
.withMaxKeyCount(maxKeyCount)
|
||||||
.withChecksumType(checksumType)
|
.withChecksumType(checksumType)
|
||||||
.withBytesPerChecksum(bytesPerChecksum)
|
.withBytesPerChecksum(bytesPerChecksum)
|
||||||
|
.withCompression(compression)
|
||||||
.build();
|
.build();
|
||||||
// The store file writer's path does not include the CF name, so we need
|
// The store file writer's path does not include the CF name, so we need
|
||||||
// to configure the HFile writer directly.
|
// to configure the HFile writer directly.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user