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

virajjasani pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/phoenix-adapters.git


The following commit(s) were added to refs/heads/main by this push:
     new 166e9a5  Relax connection timeouts
166e9a5 is described below

commit 166e9a59238efad7e28f24024f19d785dd042a1c
Author: Viraj Jasani <[email protected]>
AuthorDate: Fri Mar 6 14:48:22 2026 -0800

    Relax connection timeouts
---
 .../java/org/apache/phoenix/ddb/rest/RESTServer.java     |  2 +-
 .../main/resources/phoenix-client-connection.properties  | 16 ++++++++--------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git 
a/phoenix-ddb-rest/src/main/java/org/apache/phoenix/ddb/rest/RESTServer.java 
b/phoenix-ddb-rest/src/main/java/org/apache/phoenix/ddb/rest/RESTServer.java
index fa44e61..cba29f5 100644
--- a/phoenix-ddb-rest/src/main/java/org/apache/phoenix/ddb/rest/RESTServer.java
+++ b/phoenix-ddb-rest/src/main/java/org/apache/phoenix/ddb/rest/RESTServer.java
@@ -90,7 +90,7 @@ public class RESTServer {
     private static final String START = "start";
     private static final String STOP = "stop";
     private static final String SERVER_NOT_RUNNING_ERR_MSG = "Server is not 
running";
-    private static final int VALIDATE_SYSCAT_CONNECTION_MAX_RETRIES = 10;
+    private static final int VALIDATE_SYSCAT_CONNECTION_MAX_RETRIES = 5;
     private static final long VALIDATE_SYSCAT_CONNECTION_RETRY_INTERVAL_MS = 
1_000;
 
     public RESTServer(Configuration conf) {
diff --git 
a/phoenix-ddb-utils/src/main/resources/phoenix-client-connection.properties 
b/phoenix-ddb-utils/src/main/resources/phoenix-client-connection.properties
index e759e4c..728e077 100644
--- a/phoenix-ddb-utils/src/main/resources/phoenix-client-connection.properties
+++ b/phoenix-ddb-utils/src/main/resources/phoenix-client-connection.properties
@@ -3,17 +3,17 @@
 
 # Phoenix
 phoenix.query.request.metrics.enabled=true
-phoenix.query.timeoutMs=8000
+phoenix.query.timeoutMs=16000
 phoenix.query.threadPoolSize=256
 
 # HBase RPC timeout settings
-# default value of hbase.rpc.timeout is 60000, so keeping it 6000 if it is 
ever used
-hbase.rpc.timeout=6000
-hbase.rpc.read.timeout=4000
-hbase.rpc.write.timeout=5000
+# default value of hbase.rpc.timeout is 60000, so keeping it 14000 if it is 
ever used
+hbase.rpc.timeout=14000
+hbase.rpc.read.timeout=12000
+hbase.rpc.write.timeout=13000
 
 # HBase client settings
-hbase.client.operation.timeout=8000
-hbase.client.meta.operation.timeout=2000
-hbase.client.scanner.timeout.period=4000
+hbase.client.operation.timeout=16000
+hbase.client.meta.operation.timeout=10000
+hbase.client.scanner.timeout.period=12000
 hbase.client.scanner.max.result.size=1048576

Reply via email to