You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by GitBox <gi...@apache.org> on 2019/12/02 20:50:33 UTC

[GitHub] [phoenix] gjacoby126 commented on a change in pull request #642: PHOENIX-5590 IndexTool always runs with direct

gjacoby126 commented on a change in pull request #642: PHOENIX-5590 IndexTool always runs with direct
URL: https://github.com/apache/phoenix/pull/642#discussion_r352818953
 
 

 ##########
 File path: phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java
 ##########
 @@ -248,12 +247,13 @@ private CommandLine parseOptions(String[] args) {
                     + PARTIAL_REBUILD_OPTION.getLongOpt());
         }
         		
-        if (!(cmdLine.hasOption(DIRECT_API_OPTION.getOpt())) && cmdLine.hasOption(INDEX_TABLE_OPTION.getOpt())
+        if (!cmdLine.hasOption(INDEX_TABLE_OPTION.getOpt())
 
 Review comment:
   This also looks incorrect. Is this check needed anymore?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services