<?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>article Beeline and Hive connectivity causes connection reset error in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Beeline-and-Hive-connectivity-causes-connection-reset-error/ta-p/2150613</link>
    <description>&lt;DIV class="talend-tkb-migrated-content"&gt;&lt;DIV class="lia-message-template-content-zone"&gt; 
 &lt;H1&gt;Problem Description&lt;/H1&gt; 
 &lt;P&gt;Beeline and Hive connectivity causes a connection reset error in Studio logs.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;H1&gt;Solution&lt;/H1&gt; 
 &lt;P&gt;There are two possible solutions:&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;OL&gt;&lt;LI&gt; &lt;P&gt;Configure timeout length for client and server:&lt;/P&gt; 
   &lt;OL&gt;&lt;LI&gt; &lt;P&gt;Client-side configuration:&lt;/P&gt; &lt;P&gt;In your Job, change the timeout length for the client-side configuration by adding the following parameter to your Hive connection:&lt;/P&gt; &lt;PRE&gt;hive.metastore.client.socket.timeout&lt;/PRE&gt; &lt;P&gt;This is measured in seconds, and should be set to a value longer than the duration of each individual Hive connection query. 60 minutes is a good starting point.&lt;/P&gt; &lt;/LI&gt;&lt;LI&gt; &lt;P&gt;Server-side configurations:&lt;/P&gt; &lt;PRE&gt;hive.server.thrift.socket.timeout=1000
hive.client.thrift.socket.timeout=1000&lt;/PRE&gt; &lt;/LI&gt;&lt;/OL&gt; &lt;/LI&gt;&lt;LI&gt; &lt;P&gt;If the resolution above does not work, perform the following steps:&lt;/P&gt; 
   &lt;OL&gt;&lt;LI&gt;Back up the Hive database.&lt;/LI&gt;&lt;LI&gt;Remove Hive from the node.&lt;/LI&gt;&lt;LI&gt;Add a new node and install Hive.&lt;/LI&gt;&lt;LI&gt;Restore the Hive database.&lt;/LI&gt;&lt;/OL&gt; &lt;/LI&gt;&lt;/OL&gt; 
&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 09 Feb 2024 18:22:49 GMT</pubDate>
    <dc:creator>TalendSolutionExpert</dc:creator>
    <dc:date>2024-02-09T18:22:49Z</dc:date>
    <item>
      <title>Beeline and Hive connectivity causes connection reset error</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Beeline-and-Hive-connectivity-causes-connection-reset-error/ta-p/2150613</link>
      <description>&lt;DIV class="talend-tkb-migrated-content"&gt;&lt;DIV class="lia-message-template-content-zone"&gt; 
 &lt;H1&gt;Problem Description&lt;/H1&gt; 
 &lt;P&gt;Beeline and Hive connectivity causes a connection reset error in Studio logs.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;H1&gt;Solution&lt;/H1&gt; 
 &lt;P&gt;There are two possible solutions:&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;OL&gt;&lt;LI&gt; &lt;P&gt;Configure timeout length for client and server:&lt;/P&gt; 
   &lt;OL&gt;&lt;LI&gt; &lt;P&gt;Client-side configuration:&lt;/P&gt; &lt;P&gt;In your Job, change the timeout length for the client-side configuration by adding the following parameter to your Hive connection:&lt;/P&gt; &lt;PRE&gt;hive.metastore.client.socket.timeout&lt;/PRE&gt; &lt;P&gt;This is measured in seconds, and should be set to a value longer than the duration of each individual Hive connection query. 60 minutes is a good starting point.&lt;/P&gt; &lt;/LI&gt;&lt;LI&gt; &lt;P&gt;Server-side configurations:&lt;/P&gt; &lt;PRE&gt;hive.server.thrift.socket.timeout=1000
hive.client.thrift.socket.timeout=1000&lt;/PRE&gt; &lt;/LI&gt;&lt;/OL&gt; &lt;/LI&gt;&lt;LI&gt; &lt;P&gt;If the resolution above does not work, perform the following steps:&lt;/P&gt; 
   &lt;OL&gt;&lt;LI&gt;Back up the Hive database.&lt;/LI&gt;&lt;LI&gt;Remove Hive from the node.&lt;/LI&gt;&lt;LI&gt;Add a new node and install Hive.&lt;/LI&gt;&lt;LI&gt;Restore the Hive database.&lt;/LI&gt;&lt;/OL&gt; &lt;/LI&gt;&lt;/OL&gt; 
&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Feb 2024 18:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Beeline-and-Hive-connectivity-causes-connection-reset-error/ta-p/2150613</guid>
      <dc:creator>TalendSolutionExpert</dc:creator>
      <dc:date>2024-02-09T18:22:49Z</dc:date>
    </item>
  </channel>
</rss>

