tkhurana commented on a change in pull request #743: PHOENIX-5798 IndexUpgrade 
tool command line improvements
URL: https://github.com/apache/phoenix/pull/743#discussion_r398128008
 
 

 ##########
 File path: 
phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexUpgradeTool.java
 ##########
 @@ -707,12 +716,12 @@ private int startIndexRebuilds(HashMap<String, 
IndexInfo> indexInfos,
             list.add("-tenant");
             list.add(tenantId);
         }
-        if (syncRebuild) {
-            list.add("-runfg");
-        }
-        if(!Strings.isNullOrEmpty(verify)) {
-            list.add("-v");
-            list.add(verify);
+
+        if(!Strings.isNullOrEmpty(indexToolOpts)) {
+            String[] options = indexToolOpts.split("\\s+");
 
 Review comment:
   They will have to be quoted. Like -tool '-v ONLY -runfg -starttime 10000'

----------------------------------------------------------------
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

Reply via email to