karanmehta93 commented on a change in pull request #419: PHOENIX-4009 Run
UPDATE STATISTICS command by using MR integration on…
URL: https://github.com/apache/phoenix/pull/419#discussion_r246261216
##########
File path:
phoenix-core/src/main/java/org/apache/phoenix/mapreduce/PhoenixRecordReader.java
##########
@@ -108,6 +109,7 @@ public void initialize(InputSplit split,
TaskAttemptContext context) throws IOEx
final PhoenixInputSplit pSplit = (PhoenixInputSplit)split;
final List<Scan> scans = pSplit.getScans();
try {
+ LOG.info("Generating iterators for " + scans.size() + " scans in
keyrange: " + pSplit.getKeyRange());
Review comment:
Record reader is initialized once per mapper job and the map jobs are
limited by number of regions. Also these logs will be distributed on several
machines and not one. It would be good to have some insight here on the
iterators each reader is trying to generate.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services