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

 ##########
 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:
   Is this still a tab and not space? diff looks different from `238 to 242`. 
Please consider using phoenix code template if not already: 
https://phoenix.apache.org/develop.html

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