Created 09-04-2024 04:16 PM
hi community cloudera,
i'm experiencing strange hive drive behaviour:
my app consequently performing `select` queries on multiple tables successfully. But at some point it gets an error:
Created 09-05-2024 01:25 AM
@denysobukhov, Welcome to our community! To help you get the best possible answer, I have tagged in our HIve experts @asish @smruti @tjangid @ggangadharan who may be able to assist you further.
Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.
Regards,
Vidya Sargur,Created 09-06-2024 12:55 AM
the query is
Created 09-05-2024 04:27 AM
hi @denysobukhov Is your cluster SSL and LDAP enabled?
Are you able to connect from beeline?
Please review https://community.cloudera.com/t5/Community-Articles/How-to-Connect-to-Hiveserver2-Using-Cloudera-JD... and change it as per the usage.
Created 09-09-2024 05:49 AM
it's customers server and I don't have access to shell
Created 09-06-2024 11:52 AM
Confirm the JDBC version you are trying to connect? Try upgrading to the latest version https://www.cloudera.com/downloads/connectors/hive/jdbc/2-6-25.html
If the above didn't help please attach the TRACE level driver logs. Refer https://docs.cloudera.com/documentation/other/connectors/hive-jdbc/2-6-25/Cloudera-JDBC-Connector-fo... page# 103.
Created 09-09-2024 05:52 AM
i'm using
HiveJDBC42 2.6.25.1033
i'll try TRACE log level
Created 09-11-2024 06:07 AM
@denysobukhov
Based on error stack trace which you have shared looks like the connection is getting closed before fetching the results for the query.
Is there a delay between submitting the query and then receiving the error? If yes, what is the delay exactly.
During the time of error appears,have you observe any alerts from HS2 ?
Are you able to connect to HS2 from beeline without any issue during the time of failure?
Is hive2host.loc is the loadbalancer URL?
We might require the JDBC TRACE LOGS and HS2 logs to determine the cause of failure.
Thank You.