leesf commented on a change in pull request #2322:
URL: https://github.com/apache/hudi/pull/2322#discussion_r541870091
##########
File path:
hudi-common/src/main/java/org/apache/hudi/common/util/queue/IteratorBasedQueueProducer.java
##########
@@ -42,9 +42,10 @@ public IteratorBasedQueueProducer(Iterator<I> inputIterator)
{
@Override
public void produce(BoundedInMemoryQueue<I, ?> queue) throws Exception {
LOG.info("starting to buffer records");
+ long start = System.currentTimeMillis();
while (inputIterator.hasNext()) {
queue.insertRecord(inputIterator.next());
}
- LOG.info("finished buffering records");
+ LOG.info("finished buffering records, cost = " +
((System.currentTimeMillis() - start) / 1000));
Review comment:
this would be inneccessary?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]