<?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 Ambari Hive view cannot connect when using http transport mode in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Hive-view-cannot-connect-when-using-http-transport/m-p/98213#M11686</link>
    <description>&lt;P&gt;I’m using Sandbox 2.3.2

I have configured Hive with hive.server2.transport.mode=http (because of
 Knox integration). However, the Hive view in Ambari does not seem to 
like that.

When I leave it at the default out of the box settings (port 10000), I 
get a connection refused, as expected. But when I change the port to 
10001, which is the value of hive.server2.thrift.http.port, I get the 
following:&lt;/P&gt;&lt;PRE&gt;ERROR [qtp-client-1901] ServiceFormattedException:96 - org.apache.ambari.view.hive.client.HiveClientException: H020 Could not establish connecton to sandbox.hortonworks.com:10001: org.apache.thrift.transport.TTransportException: org.apache.thrift.transport.TTransportException&lt;/PRE&gt;&lt;P&gt;The UI doesn’t give me a way to define the JDBC URL myself, so I can’t set the proper transport mode. So I’m stuck, at least until Hive can support both modes simultaneously (&lt;A target="_blank" href="https://issues.apache.org/jira/browse/HIVE-5312"&gt;HIVE-5312&lt;/A&gt;). If I can, I'd like to avoid setting up a second Hive instance just so that I can get the view working.&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 09:52:05 GMT</pubDate>
    <dc:creator>nkanov</dc:creator>
    <dc:date>2022-09-16T09:52:05Z</dc:date>
    <item>
      <title>Ambari Hive view cannot connect when using http transport mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Hive-view-cannot-connect-when-using-http-transport/m-p/98213#M11686</link>
      <description>&lt;P&gt;I’m using Sandbox 2.3.2

I have configured Hive with hive.server2.transport.mode=http (because of
 Knox integration). However, the Hive view in Ambari does not seem to 
like that.

When I leave it at the default out of the box settings (port 10000), I 
get a connection refused, as expected. But when I change the port to 
10001, which is the value of hive.server2.thrift.http.port, I get the 
following:&lt;/P&gt;&lt;PRE&gt;ERROR [qtp-client-1901] ServiceFormattedException:96 - org.apache.ambari.view.hive.client.HiveClientException: H020 Could not establish connecton to sandbox.hortonworks.com:10001: org.apache.thrift.transport.TTransportException: org.apache.thrift.transport.TTransportException&lt;/PRE&gt;&lt;P&gt;The UI doesn’t give me a way to define the JDBC URL myself, so I can’t set the proper transport mode. So I’m stuck, at least until Hive can support both modes simultaneously (&lt;A target="_blank" href="https://issues.apache.org/jira/browse/HIVE-5312"&gt;HIVE-5312&lt;/A&gt;). If I can, I'd like to avoid setting up a second Hive instance just so that I can get the view working.&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:52:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Hive-view-cannot-connect-when-using-http-transport/m-p/98213#M11686</guid>
      <dc:creator>nkanov</dc:creator>
      <dc:date>2022-09-16T09:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Hive view cannot connect when using http transport mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Hive-view-cannot-connect-when-using-http-transport/m-p/98214#M11687</link>
      <description>&lt;P&gt;See JIRA here: &lt;A href="https://issues.apache.org/jira/browse/AMBARI-13343"&gt;https://issues.apache.org/jira/browse/AMBARI-13343&lt;/A&gt;. This is fixed in Ambari 2.2.0. Until then, you may also want to try the patch provided in the JIRA.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 15:54:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Hive-view-cannot-connect-when-using-http-transport/m-p/98214#M11687</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2015-12-09T15:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Hive view cannot connect when using http transport mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Hive-view-cannot-connect-when-using-http-transport/m-p/98215#M11688</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/820/nkanov.html" nodeid="820"&gt;@Nikolay Kanov&lt;/A&gt; pls do let us know if you do end up trying the patch (you can add a comment similar to this one instead of adding a new answer)&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 22:46:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Hive-view-cannot-connect-when-using-http-transport/m-p/98215#M11688</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2015-12-09T22:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Hive view cannot connect when using http transport mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Hive-view-cannot-connect-when-using-http-transport/m-p/98216#M11689</link>
      <description>&lt;P&gt;Will definitely post the result if I end up trying the patch. Thanks for your answer!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 22:49:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Hive-view-cannot-connect-when-using-http-transport/m-p/98216#M11689</guid>
      <dc:creator>nkanov</dc:creator>
      <dc:date>2015-12-09T22:49:52Z</dc:date>
    </item>
  </channel>
</rss>

