This is an automated email from the ASF dual-hosted git repository.

kadir pushed a commit to branch 4.x-HBase-1.4
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/4.x-HBase-1.4 by this push:
     new 9e1f7bf  PHOENIX-5401 Error in running 
apache.phoenix.mapreduce.index.automation.PhoenixMRJobSubmitter (addendum)
9e1f7bf is described below

commit 9e1f7bf1778854e66e421a7b38e3dcb08ceb9fac
Author: Kadir <kozde...@salesforce.com>
AuthorDate: Sun Sep 15 14:09:03 2019 -0700

    PHOENIX-5401 Error in running 
apache.phoenix.mapreduce.index.automation.PhoenixMRJobSubmitter (addendum)
---
 .../src/main/java/org/apache/phoenix/query/QueryServicesOptions.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java 
b/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java
index be68134..01da266 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java
@@ -209,7 +209,7 @@ public class QueryServicesOptions {
     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 = (5 * 30000 
* 60) + 2100;
+    public static final long DEFAULT_INDEX_REBUILD_QUERY_TIMEOUT = 60000 * 60 
* 24; // 24 hrs
     public static final long DEFAULT_INDEX_REBUILD_RPC_TIMEOUT = 30000 * 60; 
// 30 mins
     public static final long DEFAULT_INDEX_REBUILD_CLIENT_SCANNER_TIMEOUT = 
30000 * 60; // 30 mins
     public static final int DEFAULT_INDEX_REBUILD_RPC_RETRIES_COUNTER = 5; // 
5 total tries at rpc level

Reply via email to