aasha commented on a change in pull request #977:
URL: https://github.com/apache/hive/pull/977#discussion_r413006043
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java
##########
@@ -425,11 +432,16 @@ private Long incrementalDump(Path dumpRoot, DumpMetaData
dmd, Path cmRoot, Hive
EventUtils.MSClientNotificationFetcher evFetcher
= new EventUtils.MSClientNotificationFetcher(hiveDb);
+
+ int maxEventLimit = getMaxEventAllowed(work.maxEventLimit());
EventUtils.NotificationEventIterator evIter = new
EventUtils.NotificationEventIterator(
- evFetcher, work.eventFrom, work.maxEventLimit(), evFilter);
+ evFetcher, work.eventFrom, maxEventLimit, evFilter);
Review comment:
If maxEventLimit is not used from repldumpwork, it can be removed from
there
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]