hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1464124 - /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java
Date Wed, 03 Apr 2013 17:54:44 GMT
Author: stack
Date: Wed Apr  3 17:54:44 2013
New Revision: 1464124

URL: http://svn.apache.org/r1464124
Log:
HBASE-7745 Import uses System.out.println instead of logging

Modified:
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java?rev=1464124&r1=1464123&r2=1464124&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java (original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java Wed
Apr  3 17:54:44 2013
@@ -250,13 +250,11 @@ public class Import {
     // apply the filter and skip this kv if the filter doesn't apply
     if (filter != null) {
       Filter.ReturnCode code = filter.filterKeyValue(kv);
-      System.out.println("Filter returned:" + code);
+      LOG.debug("Filter returned:" + code);
       // if its not an accept type, then skip this kv
       if (!(code.equals(Filter.ReturnCode.INCLUDE) || code
           .equals(Filter.ReturnCode.INCLUDE_AND_NEXT_COL))) {
-        if (LOG.isDebugEnabled()) {
-          System.out.println("Skipping key: " + kv + " from filter decision: " + code);
-        }
+        LOG.debug("Skipping key: " + kv + " from filter decision: " + code);
         return null;
       }
     }



Mime
View raw message