hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nspiegelb...@apache.org
Subject svn commit: r1181586 - /hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/util/CompoundBloomFilterWriter.java
Date Tue, 11 Oct 2011 02:22:55 GMT
Author: nspiegelberg
Date: Tue Oct 11 02:22:54 2011
New Revision: 1181586

URL: http://svn.apache.org/viewvc?rev=1181586&view=rev
Log:
Reduce log frequency when writing a compound Bloom filter

Summary: This one-line change reduces the frequency of log messages generated
when adding new compound Bloom filter blocks.
Test Plan: Unit tests. Looking at the output produced by
TestCompoundBloomFilter.
Reviewed By: kannan
Reviewers: kannan, nspiegelberg
Commenters: nspiegelberg
CC: hbase@lists, , nspiegelberg, kannan
Revert Plan: OK
Differential Revision: 276254

Modified:
    hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/util/CompoundBloomFilterWriter.java

Modified: hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/util/CompoundBloomFilterWriter.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/util/CompoundBloomFilterWriter.java?rev=1181586&r1=1181585&r2=1181586&view=diff
==============================================================================
--- hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/util/CompoundBloomFilterWriter.java
(original)
+++ hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/util/CompoundBloomFilterWriter.java
Tue Oct 11 02:22:54 2011
@@ -202,10 +202,6 @@ public class CompoundBloomFilterWriter e
 
     ByteBloomFilter readyChunkBloom = readyChunk.chunk;
     readyChunkBloom.getDataWriter().write(out);
-    if (LOG.isDebugEnabled() && readyChunk.chunkId % 10 == 0) {
-      LOG.debug("Wrote Bloom chunk #" + readyChunk.chunkId + ": "
-          + readyChunkBloom + "; total Bloom " + "keys: " + totalKeyCount);
-    }
   }
 
   @Override



Mime
View raw message