HBASE-5778 Turn on WAL compression by default

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1325801 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2012-04-13 15:24:05 +00:00
parent 3976ec641e
commit 401c4ec014
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ public class SequenceFileLogWriter implements HLog.Writer {
public void init(FileSystem fs, Path path, Configuration conf)
throws IOException {
// Should we do our custom WAL compression?
boolean compress = conf.getBoolean(HConstants.ENABLE_WAL_COMPRESSION, true);
boolean compress = conf.getBoolean(HConstants.ENABLE_WAL_COMPRESSION, false);
if (compress) {
try {
if (this.compressionContext == null) {