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

 ##########
 File path: 
phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexUpgradeTool.java
 ##########
 @@ -235,6 +240,11 @@ public CommandLine parseOptions(String[] args) {
                     +TABLE_OPTION.getLongOpt() + " and " + 
TABLE_CSV_FILE_OPTION.getLongOpt()
                     + "; specify only one.");
         }
+        if ((cmdLine.hasOption(INDEX_TOOL_OPTION.getOpt()))
 
 Review comment:
   Yeah, that's what I had in mind, but I see the need to have some value for 
that option would an empty string in quotes. Anyways, current solution works 
too.

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