kadirozde commented on a change in pull request #672: PHOENIX-5658 IndexTool to
verify index rows inline
URL: https://github.com/apache/phoenix/pull/672#discussion_r365429258
##########
File path:
phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java
##########
@@ -510,7 +542,12 @@ private Job configureJobForServerBuildIndex() throws
Exception {
PhoenixConfigurationUtil.setIndexToolDataTableName(configuration,
qDataTable);
PhoenixConfigurationUtil.setIndexToolIndexTableName(configuration,
qIndexTable);
-
+ if (verify) {
+ PhoenixConfigurationUtil.setVerifyIndex(configuration, true);
+ }
Review comment:
if both "verify" and "only-verify" are set then as the help for the command
says the only-verify option will be ignored: "To verify every data table row
has the corresponding index row with the correct content (without building the
index table). If the verify option is set then the only-verify option will be
ignored");
----------------------------------------------------------------
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