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/10/22 23:27:10 UTC

[GitHub] [phoenix] priyankporwal commented on a change in pull request #603: PHOENIX-5478 IndexTool mapper task should not timeout

priyankporwal commented on a change in pull request #603: PHOENIX-5478 IndexTool mapper task should not timeout
URL: https://github.com/apache/phoenix/pull/603#discussion_r337792379
 
 

 ##########
 File path: phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java
 ##########
 @@ -208,7 +208,7 @@
     public static final long DEFAULT_INDEX_FAILURE_HANDLING_REBUILD_OVERLAP_BACKWARD_TIME = 1; // 1 ms
     public static final long DEFAULT_INDEX_FAILURE_HANDLING_REBUILD_OVERLAP_FORWARD_TIME = 60000 * 3; // 3 mins
     // 30 min rpc timeout * 5 tries, with 2100ms total pause time between retries
-    public static final long DEFAULT_INDEX_REBUILD_QUERY_TIMEOUT = 60000 * 60 * 24; // 24 hrs
+    public static final long DEFAULT_INDEX_REBUILD_QUERY_TIMEOUT = (5 * 30000 * 60) + 2100;
 
 Review comment:
   Also matches the the comment on line 210 right above.

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