<?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: HIVE ODBC Driver Timeout on INSERT in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HIVE-ODBC-Driver-Timeout-on-INSERT/m-p/90308#M3891</link>
    <description>&lt;P&gt;I checked the log but nothing indicates a server side issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the server side it indicates that the client has cancelled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested the ODBC driver using a client app (C#) and things were fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I'm now trying to see if there is something to be done from SQL Server side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for your support.&lt;/P&gt;</description>
    <pubDate>Mon, 13 May 2019 08:44:45 GMT</pubDate>
    <dc:creator>MohdAli</dc:creator>
    <dc:date>2019-05-13T08:44:45Z</dc:date>
    <item>
      <title>HIVE ODBC Driver Timeout on INSERT</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HIVE-ODBC-Driver-Timeout-on-INSERT/m-p/89921#M3887</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having a time out issue when trying to perform and insert operation into HIVE using the ODBC driver (v2.6.1.1001 (64 bit) Windows) as a linked server in SQL Server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I perfrom a SELECT query using OPENQUERY function, the driver will wait till execution is complete no matter how many minutes it take.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I perform an INSERT query, the driver always return a timeout message when the execution time exceeds 30 seconds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set all timeout parameters to 0, however, the issue persists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to make INSERTS taking longer than 30 seconds succeed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From HUE, the inserts work properly and succeed after around 1:30 minutes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your insights.&lt;/P&gt;&lt;P&gt;-------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is a sample trace log of the driver when executing the insert statement:&lt;/P&gt;&lt;P&gt;May 05 16:57:03.394 TRACE 9468 HardyTCLIServiceThreadSafeClient::ExecuteStatement: +++++ profile leave +++++&lt;BR /&gt;May 05 16:57:03.394 TRACE 9468 HardyTCLIServiceClient::CheckCancel: +++++ enter +++++&lt;BR /&gt;May 05 16:57:03.519 DEBUG 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: TGetOperationStatusReq&lt;BR /&gt;operationHandle.operationId.guid = 86e328c56f4048b7aae3196921de9c24&lt;BR /&gt;May 05 16:57:03.519 TRACE 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: +++++ profile enter +++++&lt;BR /&gt;May 05 16:57:08.522 TRACE 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: +++++ profile leave +++++&lt;BR /&gt;May 05 16:57:08.522 TRACE 9468 HardyTCLIServiceClient::CheckCancel: +++++ enter +++++&lt;BR /&gt;May 05 16:57:08.632 DEBUG 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: TGetOperationStatusReq&lt;BR /&gt;operationHandle.operationId.guid = 86e328c56f4048b7aae3196921de9c24&lt;BR /&gt;May 05 16:57:08.632 TRACE 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: +++++ profile enter +++++&lt;BR /&gt;May 05 16:57:13.633 TRACE 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: +++++ profile leave +++++&lt;BR /&gt;May 05 16:57:13.633 TRACE 9468 HardyTCLIServiceClient::CheckCancel: +++++ enter +++++&lt;BR /&gt;May 05 16:57:13.742 DEBUG 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: TGetOperationStatusReq&lt;BR /&gt;operationHandle.operationId.guid = 86e328c56f4048b7aae3196921de9c24&lt;BR /&gt;May 05 16:57:13.742 TRACE 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: +++++ profile enter +++++&lt;BR /&gt;May 05 16:57:18.742 TRACE 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: +++++ profile leave +++++&lt;BR /&gt;May 05 16:57:18.742 TRACE 9468 HardyTCLIServiceClient::CheckCancel: +++++ enter +++++&lt;BR /&gt;May 05 16:57:18.852 DEBUG 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: TGetOperationStatusReq&lt;BR /&gt;operationHandle.operationId.guid = 86e328c56f4048b7aae3196921de9c24&lt;BR /&gt;May 05 16:57:18.852 TRACE 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: +++++ profile enter +++++&lt;BR /&gt;May 05 16:57:23.966 TRACE 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: +++++ profile leave +++++&lt;BR /&gt;May 05 16:57:23.966 TRACE 9468 HardyTCLIServiceClient::CheckCancel: +++++ enter +++++&lt;BR /&gt;May 05 16:57:24.076 DEBUG 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: TGetOperationStatusReq&lt;BR /&gt;operationHandle.operationId.guid = 86e328c56f4048b7aae3196921de9c24&lt;BR /&gt;May 05 16:57:24.076 TRACE 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: +++++ profile enter +++++&lt;BR /&gt;May 05 16:57:29.079 TRACE 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: +++++ profile leave +++++&lt;BR /&gt;May 05 16:57:29.079 TRACE 9468 HardyTCLIServiceClient::CheckCancel: +++++ enter +++++&lt;BR /&gt;May 05 16:57:29.188 DEBUG 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: TGetOperationStatusReq&lt;BR /&gt;operationHandle.operationId.guid = 86e328c56f4048b7aae3196921de9c24&lt;BR /&gt;May 05 16:57:29.188 TRACE 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: +++++ profile enter +++++&lt;BR /&gt;May 05 16:57:34.188 TRACE 9468 HardyTCLIServiceThreadSafeClient::GetOperationStatus: +++++ profile leave +++++&lt;BR /&gt;May 05 16:57:34.188 TRACE 9468 HardyTCLIServiceClient::CheckCancel: +++++ enter +++++&lt;BR /&gt;May 05 16:57:34.188 TRACE 9468 HardyTCLIServiceClient::CancelOperation: +++++ enter +++++&lt;BR /&gt;May 05 16:57:34.188 TRACE 9468 HardyTCLIServiceClient::GetBackendCxn: +++++ enter +++++&lt;BR /&gt;May 05 16:57:34.188 DEBUG 9468 HardyTCLIServiceThreadSafeClient::CancelOperation: TCancelOperationReq&lt;BR /&gt;operationHandle.operationId.guid = 86e328c56f4048b7aae3196921de9c24&lt;BR /&gt;May 05 16:57:34.188 TRACE 9468 HardyTCLIServiceThreadSafeClient::CancelOperation: +++++ profile enter +++++&lt;BR /&gt;May 05 16:57:34.204 TRACE 9468 HardyTCLIServiceThreadSafeClient::CancelOperation: +++++ profile leave +++++&lt;BR /&gt;May 05 16:57:34.204 TRACE 9468 HardyHardySSPropertyManager::NotifyExecEnd: +++++ enter +++++&lt;BR /&gt;May 05 16:57:34.204 TRACE 9468 HardyHardyQuotedIDManager::HandleExecEnd: +++++ enter +++++&lt;BR /&gt;May 05 16:57:34.204 TRACE 9468 HardyHardySSPropertyManager::NotifyExecEnd: +++++ enter +++++&lt;BR /&gt;May 05 16:57:34.204 TRACE 9468 HardyHardySSPropertyManager::HandleExecEnd: +++++ enter +++++&lt;BR /&gt;May 05 16:57:34.204 ERROR 9468 ClassicQueryExecutor::Execute: [Cloudera][Hardy] (72) Query execution timeout expired.&lt;BR /&gt;May 05 16:57:34.204 ERROR 9468 Statement::SQLExecute: [Cloudera][Hardy] (72) Query execution timeout expired.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:22:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HIVE-ODBC-Driver-Timeout-on-INSERT/m-p/89921#M3887</guid>
      <dc:creator>MohdAli</dc:creator>
      <dc:date>2022-09-16T14:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE ODBC Driver Timeout on INSERT</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HIVE-ODBC-Driver-Timeout-on-INSERT/m-p/90077#M3888</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;When you are saying "I set all timeout parameters to 0,", can you please confirm what timeouts you set? From client side or Hive server side?&lt;BR /&gt;&lt;BR /&gt;Have you tried to increase the SocketTimeout on the ODBC driver side:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.cloudera.com/documentation/other/connectors/hive-odbc/latest/Cloudera-ODBC-Driver-for-Apache-Hive-Install-Guide.pdf" target="_blank"&gt;https://www.cloudera.com/documentation/other/connectors/hive-odbc/latest/Cloudera-ODBC-Driver-for-Apache-Hive-Install-Guide.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;on page 81.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 May 2019 04:04:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HIVE-ODBC-Driver-Timeout-on-INSERT/m-p/90077#M3888</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2019-05-08T04:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE ODBC Driver Timeout on INSERT</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HIVE-ODBC-Driver-Timeout-on-INSERT/m-p/90104#M3889</link>
      <description>&lt;P&gt;It is the timeout from the client side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have set the socket timeout as well but it has no effect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like something related to SQL server configuration. I will look further in that direction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 08:38:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HIVE-ODBC-Driver-Timeout-on-INSERT/m-p/90104#M3889</guid>
      <dc:creator>MohdAli</dc:creator>
      <dc:date>2019-05-08T08:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE ODBC Driver Timeout on INSERT</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HIVE-ODBC-Driver-Timeout-on-INSERT/m-p/90169#M3890</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am seeing CancelOperation:&lt;BR /&gt;HardyTCLIServiceThreadSafeClient::CancelOperation&lt;BR /&gt;&lt;BR /&gt;Have you checked on the HS2 log to see if anything useful from server side?&lt;BR /&gt;&lt;BR /&gt;It does not make sense that SELECT works but INSERT will get timeout, there is no separate configuration for them. What about CTAS query?&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Eric</description>
      <pubDate>Thu, 09 May 2019 06:38:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HIVE-ODBC-Driver-Timeout-on-INSERT/m-p/90169#M3890</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2019-05-09T06:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE ODBC Driver Timeout on INSERT</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HIVE-ODBC-Driver-Timeout-on-INSERT/m-p/90308#M3891</link>
      <description>&lt;P&gt;I checked the log but nothing indicates a server side issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the server side it indicates that the client has cancelled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested the ODBC driver using a client app (C#) and things were fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I'm now trying to see if there is something to be done from SQL Server side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for your support.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 08:44:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HIVE-ODBC-Driver-Timeout-on-INSERT/m-p/90308#M3891</guid>
      <dc:creator>MohdAli</dc:creator>
      <dc:date>2019-05-13T08:44:45Z</dc:date>
    </item>
  </channel>
</rss>

