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:
mbautin 2012-03-20 21:04:38 +00:00
parent 2f58da0489
commit b4dccf9198
1 changed files with 1 additions and 0 deletions

View File

@ -835,6 +835,7 @@ public class Store extends SchemaConfigured implements HeapSize {
.withMaxKeyCount(maxKeyCount)
.withChecksumType(checksumType)
.withBytesPerChecksum(bytesPerChecksum)
.withCompression(compression)
.build();
// The store file writer's path does not include the CF name, so we need
// to configure the HFile writer directly.