<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Impala JDBC driver thrown unintelligible error on prepareStatement in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Impala-JDBC-driver-thrown-unintelligible-error-on/m-p/393757#M248562</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/117147"&gt;@michalwojtowicz&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our Impala experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12885"&gt;@mszurap&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/26563"&gt;@ezerihun&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Sep 2024 16:26:24 GMT</pubDate>
    <dc:creator>DianaTorres</dc:creator>
    <dc:date>2024-09-20T16:26:24Z</dc:date>
    <item>
      <title>Impala JDBC driver thrown unintelligible error on prepareStatement</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-JDBC-driver-thrown-unintelligible-error-on/m-p/393756#M248561</link>
      <description>&lt;P&gt;Logged SELECT statement targets table with&amp;nbsp;10736979 rows. What can the reason for this error? Is it related to query timeout? What is the default driver query timeout? prepareStatement has been running for around 3 hours before driver thrown the error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Caused by: java.sql.SQLException: [Cloudera][ImpalaJDBCDriver](500051) ERROR processing query/statement. Error Code: 0, SQL state: TStatus(statusCode:ERROR_STATUS, sqlState:HY000, errorMessage:Invalid session id: 854422e228b99fe7:8a73e8f716a58fbf
), Query: SELECT `type_enr`, `num_enr`, `num_carte`, `seq_carte`, `type_carte`, `cd_pdt_pilotage`, `code_tarif`, `num_cpt`, `letr_cle`, `numero_personne_host`, `nom_porteur`, `typ_porteur`, `autoris_comerc`, `statu_crt`, `dt_statut`, `dt_saisie`, `dt_vente`, `dt_eche`, `dt_der_fab`, `dt_der_fact`, `code_renouv`, `code_suivi`, `date_suivi`, `nbr_recalcul`, `dt_recalcul`, `nbr_relance`, `dt_relance`, `opt_releve`, `num_dern_rlv`, `matr_vend`, `cd_motif`, `usr_crea`, `trm_crea`, `usr_valid`, `trm_valid`, `usr_maj`, `trm_maj`, `num_lot`, `crt_imp`, `frais`, `origine`, `crt_ppl`, `formule`, `design`, `date_prelv`, `matr_vendeur`, `dt_modif_rec`, `agc_com`, `filler`, `time` FROM `awb_preprod`.`orc_mn_porteur`.
	at com.cloudera.impala.hivecommon.api.HS2Client.executeStatementInternal(Unknown Source)
	at com.cloudera.impala.hivecommon.api.HS2Client.executeStatement(Unknown Source)
	at com.cloudera.impala.hivecommon.dataengine.HiveJDBCNativeQueryExecutor.executeQuery(Unknown Source)
	at com.cloudera.impala.hivecommon.dataengine.HiveJDBCNativeQueryExecutor.&amp;lt;init&amp;gt;(Unknown Source)
	at com.cloudera.impala.hivecommon.dataengine.HiveJDBCDataEngine.prepare(Unknown Source)
	at com.cloudera.impala.jdbc.common.SPreparedStatement.&amp;lt;init&amp;gt;(Unknown Source)
	at com.cloudera.impala.jdbc.jdbc41.S41PreparedStatement.&amp;lt;init&amp;gt;(Unknown Source)
	at com.cloudera.impa&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 16:23:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-JDBC-driver-thrown-unintelligible-error-on/m-p/393756#M248561</guid>
      <dc:creator>michalwojtowicz</dc:creator>
      <dc:date>2024-09-20T16:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Impala JDBC driver thrown unintelligible error on prepareStatement</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-JDBC-driver-thrown-unintelligible-error-on/m-p/393757#M248562</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/117147"&gt;@michalwojtowicz&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our Impala experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12885"&gt;@mszurap&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/26563"&gt;@ezerihun&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 16:26:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-JDBC-driver-thrown-unintelligible-error-on/m-p/393757#M248562</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-09-20T16:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Impala JDBC driver thrown unintelligible error on prepareStatement</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-JDBC-driver-thrown-unintelligible-error-on/m-p/397720#M249959</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/117147"&gt;@michalwojtowicz&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mentioned error seem to be complaining about expired session which either gets terminated by client or server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now, to answer your question driver config has&amp;nbsp;&lt;STRONG&gt;SocketTimeout&lt;/STRONG&gt; which controls TCP connection: "The number of seconds that the TCP socket waits for a response from the server before raising an error on the request." and default value of the same is 0(i.e the connection does not time out.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Refer:&amp;nbsp;&lt;A href="https://docs.cloudera.com/documentation/other/connectors/impala-jdbc/2-6-34/Cloudera-JDBC-Connector-for-Apache-Impala-Install-Guide.pdf" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/documentation/other/connectors/impala-jdbc/2-6-34/Cloudera-JDBC-Connector-for-Apache-Impala-Install-Guide.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, could you confirm whether you have loadbalancer in place for impala through which you are connecting using JDBC driver?&lt;/P&gt;&lt;P&gt;If yes, consider reviewing LB settings which should have timeout configurations allowing server to close the connection for long running queries, for instance:&lt;/P&gt;&lt;P&gt;===&lt;/P&gt;&lt;P&gt;timeout connect&lt;/P&gt;&lt;P&gt;timeout client&lt;/P&gt;&lt;P&gt;timeout server&lt;/P&gt;&lt;P&gt;===&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 13:39:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-JDBC-driver-thrown-unintelligible-error-on/m-p/397720#M249959</guid>
      <dc:creator>kbanik</dc:creator>
      <dc:date>2024-11-19T13:39:24Z</dc:date>
    </item>
  </channel>
</rss>

