-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure Phoenix server scan page timeout #24689
Conversation
plugin/trino-phoenix5/src/main/java/io/trino/plugin/phoenix5/PhoenixClientModule.java
Outdated
Show resolved
Hide resolved
plugin/trino-phoenix5/src/main/java/io/trino/plugin/phoenix5/PhoenixConfig.java
Outdated
Show resolved
Hide resolved
plugin/trino-phoenix5/src/main/java/io/trino/plugin/phoenix5/PhoenixConfig.java
Outdated
Show resolved
Hide resolved
plugin/trino-phoenix5/src/main/java/io/trino/plugin/phoenix5/PhoenixConfig.java
Outdated
Show resolved
Hide resolved
plugin/trino-phoenix5/src/main/java/io/trino/plugin/phoenix5/PhoenixConfig.java
Outdated
Show resolved
Hide resolved
I'm not sure if we really need this property or not. Can't we set this property via |
3fab98c
to
19e2653
Compare
Unfortunately, neither of them covers it. For instance, |
@virajjasani The answer doesn't explain why |
Since the early days, very limited properties have been allowed in the url:
These are simple property names (when compared with |
I also see that we are using this in test setup but it is of no use because the real value of namespace mapping is coming from elsewhere, using it in url has no impact:
There is different story for isNamespaceMappingEnabled though and I would like to fix (remove) it in separate PR. It is sort of not so useful property anymore. |
0aed6a9
to
95df4ba
Compare
plugin/trino-phoenix5/src/main/java/io/trino/plugin/phoenix5/PhoenixConfig.java
Outdated
Show resolved
Hide resolved
plugin/trino-phoenix5/src/main/java/io/trino/plugin/phoenix5/PhoenixClientModule.java
Outdated
Show resolved
Hide resolved
c7e3bf3
to
f7a85fb
Compare
plugin/trino-phoenix5/src/main/java/io/trino/plugin/phoenix5/PhoenixConfig.java
Outdated
Show resolved
Hide resolved
plugin/trino-phoenix5/src/main/java/io/trino/plugin/phoenix5/PhoenixClientModule.java
Outdated
Show resolved
Hide resolved
plugin/trino-phoenix5/src/main/java/io/trino/plugin/phoenix5/PhoenixClientModule.java
Outdated
Show resolved
Hide resolved
00320de
to
fc8b4da
Compare
plugin/trino-phoenix5/src/main/java/io/trino/plugin/phoenix5/PhoenixConfig.java
Outdated
Show resolved
Hide resolved
881223d
to
ec4953b
Compare
@virajjasani Please avoid doing force-push with rebase as much as possible. It's hard to understand the diff since the last review on GitHub UI. |
Description
Phoenix provides a way to configure Page size while creating JDBC Connection. Page size in Phoenix is important aspect to control how much work a single HBase RPC handler should perform before timing out. When the given RPC thread times out based on the page size, Phoenix client retrieves dummy result from the server and resume the operation by sending another RPC request, until eventually the result iteration is completed.
As Phoenix supports both OLTP and OLAP workloads, setting the page size timeout is crucial to manage HBase server resources efficiently. While by default, Phoenix client relies on HBase RPC timeout values to derive Page size, using Configuration property is flexible and efficient way for the clients to have better control.
Additional context and related issues
Release notes