hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject svn commit: r1325566 - /hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/SequenceFileLogWriter.java
Date Thu, 12 Apr 2012 23:00:01 GMT
Author: jdcryans
Date: Thu Apr 12 23:00:01 2012
New Revision: 1325566

URL: http://svn.apache.org/viewvc?rev=1325566&view=rev
Log:
HBASE-5778  Turn on WAL compression by default

Modified:
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/SequenceFileLogWriter.java

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/SequenceFileLogWriter.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/SequenceFileLogWriter.java?rev=1325566&r1=1325565&r2=1325566&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/SequenceFileLogWriter.java
(original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/SequenceFileLogWriter.java
Thu Apr 12 23:00:01 2012
@@ -132,7 +132,7 @@ public class SequenceFileLogWriter imple
   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, false);
+    boolean compress = conf.getBoolean(HConstants.ENABLE_WAL_COMPRESSION, true);
     if (compress) {
       try {
         if (this.compressionContext == null) {



Mime
View raw message