HBASE-7745 Import uses System.out.println instead of logging
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1464124 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ed477c245d
commit
e52f34f21b
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue