<?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: Error with socket timeout in CDP hive 3.1.3 when loading large dataset in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-with-socket-timeout-in-CDP-hive-3-1-3-when-loading/m-p/369010#M240340</link>
    <description>&lt;P&gt;From the error could see the query failed in&amp;nbsp;&lt;SPAN&gt;MoveTask. MoveTask can be loading the partitions as well since the load statement belongs to the partitioned table, Along with HS2 logs HMS logs for the corresponding time period gives a better idea to identify the root cause of the failure.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If it's just timeout issue,&amp;nbsp; increase client socket timeout value.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Apr 2023 12:31:30 GMT</pubDate>
    <dc:creator>ggangadharan</dc:creator>
    <dc:date>2023-04-20T12:31:30Z</dc:date>
    <item>
      <title>Error with socket timeout in CDP hive 3.1.3 when loading large dataset</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-with-socket-timeout-in-CDP-hive-3-1-3-when-loading/m-p/363932#M239089</link>
      <description>&lt;P&gt;Below are the version details&lt;BR /&gt;CDP 7.1.8&lt;BR /&gt;CM : 7.8.1&lt;BR /&gt;HIVE : 3.1.3&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;We are trying to insert data into partitioned table using ORC file. It contains approx 50,000 rows&lt;BR /&gt;Using below command to load data&lt;BR /&gt;LOAD DATA INPATH '/user/test/r_14_5.orc' INTO TABLE va_offer_16;&lt;BR /&gt;&lt;BR /&gt;we see that all the map and reducer task are completed withing 500s.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------------------------------------------------------&lt;BR /&gt;VERTICES MODE STATUS TOTAL COMPLETED RUNNING PENDING FAILED KILLED&lt;BR /&gt;----------------------------------------------------------------------------------------------&lt;BR /&gt;Map 1 .......... container SUCCEEDED 7 7 0 0 0 0&lt;BR /&gt;Reducer 2 ...... container SUCCEEDED 33 33 0 0 0 0&lt;BR /&gt;----------------------------------------------------------------------------------------------&lt;BR /&gt;VERTICES: 02/02 [==========================&amp;gt;&amp;gt;] 100% ELAPSED TIME: 2601.60 s&lt;BR /&gt;----------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;However further there is no progress for next 2000 sec before failure with below error.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ERRROR :&lt;/P&gt;&lt;P&gt;ERROR : FAILED: Execution Error, return code 40000 from org.apache.hadoop.hive.ql.exec.MoveTask. org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out&lt;BR /&gt;INFO : Completed executing command(queryId=hive_20230216163408_de7cb993-2086-4011-8788-50f46ed6e7f3); Time taken: 2605.485 seconds&lt;BR /&gt;INFO : OK&lt;BR /&gt;Error: Error while compiling statement: FAILED: Execution Error, return code 40000 from org.apache.hadoop.hive.ql.exec.MoveTask. org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out (state=08S01,code=40000)&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 07:43:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-with-socket-timeout-in-CDP-hive-3-1-3-when-loading/m-p/363932#M239089</guid>
      <dc:creator>dmharshit</dc:creator>
      <dc:date>2026-04-21T07:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error with socket timeout in CDP hive 3.1.3 when loading large dataset</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-with-socket-timeout-in-CDP-hive-3-1-3-when-loading/m-p/364837#M239248</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86203"&gt;@dmharshit&lt;/a&gt;&amp;nbsp;It will not be easy to tell you what could be causing this from this error message alone. Maybe if you could share the query EXPLAIN PLAN as well as HS2 logs, that will give us a better idea.&lt;/P&gt;&lt;P&gt;Else, just try the following config change in Hive metastore, and in my experience this should help:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CDP &amp;gt; Hive &amp;gt; Configuration &amp;gt; Hive Metastore Server Advanced Configuration Snippet (Safety Valve) for hive-site.xml

1# 
property:  hive.metastore.event.listener
Value:&amp;lt;leave it blank&amp;gt;
Note: do not add anyting in the Value field

2#
Property: hive.metastore.transactional.event.listeners
Value: &amp;lt; leave it blank&amp;gt;
Note: do not add anyting in the Value field&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 28 Feb 2023 15:38:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-with-socket-timeout-in-CDP-hive-3-1-3-when-loading/m-p/364837#M239248</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2023-02-28T15:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error with socket timeout in CDP hive 3.1.3 when loading large dataset</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-with-socket-timeout-in-CDP-hive-3-1-3-when-loading/m-p/369010#M240340</link>
      <description>&lt;P&gt;From the error could see the query failed in&amp;nbsp;&lt;SPAN&gt;MoveTask. MoveTask can be loading the partitions as well since the load statement belongs to the partitioned table, Along with HS2 logs HMS logs for the corresponding time period gives a better idea to identify the root cause of the failure.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If it's just timeout issue,&amp;nbsp; increase client socket timeout value.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 12:31:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-with-socket-timeout-in-CDP-hive-3-1-3-when-loading/m-p/369010#M240340</guid>
      <dc:creator>ggangadharan</dc:creator>
      <dc:date>2023-04-20T12:31:30Z</dc:date>
    </item>
  </channel>
</rss>

