<?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: Connection error when executing in Hive View using Ambari on HDP 2.3 sandbox in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-when-executing-in-Hive-View-using-Ambari-on/m-p/191939#M59154</link>
    <description>&lt;P&gt;Thanks Jay!  Increasing the timeout parameters worked.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Apr 2017 23:30:39 GMT</pubDate>
    <dc:creator>jgoebel422</dc:creator>
    <dc:date>2017-04-07T23:30:39Z</dc:date>
    <item>
      <title>Connection error when executing in Hive View using Ambari on HDP 2.3 sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-when-executing-in-Hive-View-using-Ambari-on/m-p/191935#M59150</link>
      <description>&lt;P&gt;Hello - &lt;/P&gt;&lt;P&gt;I'm running an HDP 2.3 sandbox on my laptop through a Virtualbox VM.  While attempting to create tables through Ambari Hive view, I'm receiving the following error (screen shot attached):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;H060 Unable to open Hive session:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Read timed out&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Creating the tables directly within a hive shell is working fine.  Any idea why it isn't working through Ambari?&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/14417-h060-hive-view-error.png"&gt;h060-hive-view-error.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 20:50:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-when-executing-in-Hive-View-using-Ambari-on/m-p/191935#M59150</guid>
      <dc:creator>jgoebel422</dc:creator>
      <dc:date>2017-04-07T20:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Connection error when executing in Hive View using Ambari on HDP 2.3 sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-when-executing-in-Hive-View-using-Ambari-on/m-p/191936#M59151</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/17178/jgoebel422.html"&gt;Jay Goebel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Known issue addressed in a later version of Ambari.&lt;/P&gt;&lt;P&gt;If you restart Ambari that issue goes away:&lt;/P&gt;&lt;PRE&gt;ambari-server restart&lt;/PRE&gt;&lt;P&gt;Due to a timeout the thrift connection dies.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 20:54:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-when-executing-in-Hive-View-using-Ambari-on/m-p/191936#M59151</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2017-04-07T20:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Connection error when executing in Hive View using Ambari on HDP 2.3 sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-when-executing-in-Hive-View-using-Ambari-on/m-p/191937#M59152</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17178/jgoebel422.html" nodeid="17178"&gt;@Jay Goebel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Additionally if you find that your HiveView queries are taking longer time to read the data from Hive then you might want to increase the Amabri View Read Timeout to see if it helps in fixing the "read Timeout". You can increase the values of the following parameters in your&lt;STRONG&gt; "/etc/ambari-server/conf/ambari.properties"&lt;/STRONG&gt; and see if it helps. Then restart ambari server.
&lt;/P&gt;&lt;PRE&gt;views.ambari.request.read.timeout.millis = 300000
views.request.read.timeout.millis = 300000   &lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 20:58:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-when-executing-in-Hive-View-using-Ambari-on/m-p/191937#M59152</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-04-07T20:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Connection error when executing in Hive View using Ambari on HDP 2.3 sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-when-executing-in-Hive-View-using-Ambari-on/m-p/191938#M59153</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17178/jgoebel422.html" nodeid="17178"&gt;@Jay Goebel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In addition to my previous comment, f you are using Ambari 2.4 or later then you might want to refer to the following option as well : &lt;A href="https://community.hortonworks.com/articles/90768/how-to-fix-ambari-hive-view-15-result-fetch-timed.html" target="_blank"&gt;https://community.hortonworks.com/articles/90768/how-to-fix-ambari-hive-view-15-result-fetch-timed.html&lt;/A&gt;

In which for Ambari 1.5 Hive Views we can set the read timeout more effeciently pre instance basis using&lt;/P&gt;&lt;PRE&gt;  views.ambari.hive.&amp;lt;HIVE_VIEW_INSTANCE_NAME&amp;gt;.result.fetch.timeout=120000&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 21:03:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-when-executing-in-Hive-View-using-Ambari-on/m-p/191938#M59153</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-04-07T21:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Connection error when executing in Hive View using Ambari on HDP 2.3 sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-when-executing-in-Hive-View-using-Ambari-on/m-p/191939#M59154</link>
      <description>&lt;P&gt;Thanks Jay!  Increasing the timeout parameters worked.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 23:30:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-when-executing-in-Hive-View-using-Ambari-on/m-p/191939#M59154</guid>
      <dc:creator>jgoebel422</dc:creator>
      <dc:date>2017-04-07T23:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Connection error when executing in Hive View using Ambari on HDP 2.3 sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-when-executing-in-Hive-View-using-Ambari-on/m-p/191940#M59155</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/3486/cstanca.html" nodeid="3486"&gt;@Constantin Stanca&lt;/A&gt; - Do you know in which version of Ambari this know issue is resolved ?&lt;/P&gt;&lt;P&gt;We are currently on Ambari Version 2.5.0.3&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 01:47:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-when-executing-in-Hive-View-using-Ambari-on/m-p/191940#M59155</guid>
      <dc:creator>abhishek_c</dc:creator>
      <dc:date>2018-01-09T01:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Connection error when executing in Hive View using Ambari on HDP 2.3 sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-when-executing-in-Hive-View-using-Ambari-on/m-p/191941#M59156</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; - Increasing the timeout parameters helped to a certain extent but it didn't totally resolve the issue. The issue is occurring even after increasing the timeouts.&lt;/P&gt;&lt;P&gt;Are there any other parameters that can be tweaked ?&lt;/P&gt;&lt;P&gt;We are currently on Ambari Version 2.5.0.3&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 01:52:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-when-executing-in-Hive-View-using-Ambari-on/m-p/191941#M59156</guid>
      <dc:creator>abhishek_c</dc:creator>
      <dc:date>2018-01-09T01:52:45Z</dc:date>
    </item>
  </channel>
</rss>

