Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to set up a Timeout to Phoenix thin driver

avatar
New Contributor

Hi,

I am developing a microservice with Spring Boot and using the Phoenix thin driver to query a HBase table.

I want to set up the timeout to value of 2 minutes but my settings are being ignored:

 

vlda_0-1643138471782.png

 

To test this scenario I have started the Phoenix query server but not the HBase server. After that, I do a query to HBase through Phoenix query server waiting to get the timeout after 2 minutes, but this is not happening.

 

Any help will be greatly appreciated.

Thank you very much in advance.

1 REPLY 1

avatar
Contributor

Hi ,

 

We need to increase the timeout for phoenix query by the below configuration

 

phoenix.query.timeoutMsClient-side property specifies the number of milliseconds after which a query will timeout on the client. The default is 10 min.

600000