Member since
03-21-2023
2
Posts
0
Kudos Received
0
Solutions
03-21-2023
06:01 PM
@bbreak thanks, I will try. In my case, I wan't call close to close a statement. execute and close will call in different thread. So Why synchronized both close and execute? Now close will not work before execute complete
... View more
03-21-2023
06:50 AM
I use Impala JDBC to query, I find close() and execute() with synchronized. So if I invoke close() in other thread will wait execute() ,because if execute() is running,close() will blocked waiting for lock. So I should invoke cancal() before close() to avoid block?
... View more
Labels:
- Labels:
-
Apache Impala