Skip to content

Commit

Permalink
PHOENIX-6112 Coupling of two classes only use logger
Browse files Browse the repository at this point in the history
  • Loading branch information
wangchao316 authored and gjacoby126 committed Sep 5, 2020
1 parent 93a85f0 commit 4c37467
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import org.apache.hadoop.mapreduce.lib.db.DBInputFormat.NullDBWritable;
import org.apache.hadoop.mapreduce.lib.db.DBWritable;
import org.apache.hadoop.util.ReflectionUtils;
import org.apache.phoenix.iterate.BaseResultIterators;
import org.apache.phoenix.jdbc.PhoenixConnection;
import org.apache.phoenix.mapreduce.FormatToBytesWritableMapper;
import org.apache.phoenix.mapreduce.ImportPreUpsertKeyValueProcessor;
Expand Down Expand Up @@ -784,10 +783,8 @@ public static boolean getStatsForParallelizationProp(PhoenixConnection conn, PTa
if (tenantId != null) {
tenantId = null;
} else {
BaseResultIterators.LOGGER.warn(
"Unable to find parent table \"" + parentTableName + "\" of table \""
+ table.getName().getString() + "\" to determine USE_STATS_FOR_PARALLELIZATION",
e);
LOGGER.warn("Unable to find parent table \"" + parentTableName + "\" of table \""
+ table.getName().getString() + "\" to determine USE_STATS_FOR_PARALLELIZATION",e);
}
}
}
Expand Down

0 comments on commit 4c37467

Please sign in to comment.