gokceni commented on a change in pull request #648: Phoenix 5591 Fail indextool
if split-merge happens during job run
URL: https://github.com/apache/phoenix/pull/648#discussion_r355752685
##########
File path:
phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/PhoenixIndexImportDirectReducer.java
##########
@@ -49,8 +50,27 @@
private static final Logger LOGGER =
LoggerFactory.getLogger(PhoenixIndexImportDirectReducer.class);
+ private static Integer regionCountForTesting = null;
+
+ public static void setRegionCountForTesting(Integer regionCount) {
Review comment:
So that I can pass null. It does null check. With Integer you know it is not
set. With int, you dont
----------------------------------------------------------------
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]
With regards,
Apache Git Services