hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r910407 - in /hadoop/hbase/trunk: CHANGES.txt src/java/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.java
Date Tue, 16 Feb 2010 06:00:57 GMT
Author: stack
Date: Tue Feb 16 06:00:56 2010
New Revision: 910407

URL: http://svn.apache.org/viewvc?rev=910407&view=rev
Log:
HBASE-2230 SingleColumnValueFilter has an ungaurded debug log message.

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.java

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=910407&r1=910406&r2=910407&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Tue Feb 16 06:00:56 2010
@@ -206,6 +206,7 @@
    HBASE-2224  Broken build: TestGetRowVersions.testGetRowMultipleVersions
    HBASE-2129  ant tar build broken since switch to Ivy (Kay Kay via Stack)
    HBASE-2226  HQuorumPeerTest doesnt run because it doesnt start with the word Test
+   HBASE-2230  SingleColumnValueFilter has an ungaurded debug log message
 
   IMPROVEMENTS
    HBASE-1760  Cleanup TODOs in HTable

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.java?rev=910407&r1=910406&r2=910407&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.java
(original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.java
Tue Feb 16 06:00:56 2010
@@ -149,7 +149,9 @@
     // byte array copy?
     int compareResult =
       this.comparator.compareTo(Arrays.copyOfRange(data, offset, offset + length));
-    LOG.debug("compareResult=" + compareResult + " " + Bytes.toString(data, offset, length));
+    if (LOG.isDebugEnabled()) {
+      LOG.debug("compareResult=" + compareResult + " " + Bytes.toString(data, offset, length));
+    }
     switch (this.compareOp) {
     case LESS:
       return compareResult <= 0;



Mime
View raw message