<?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: Herberized HDP 2.4 - not able to connect using Beeline in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Herberized-HDP-2-4-not-able-to-connect-using-Beeline/m-p/141209#M103812</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10180/knarayanan.html" nodeid="10180"&gt;@Karthik Narayanan&lt;/A&gt;, &lt;/P&gt;&lt;P&gt;- yes, the principal is correct for user - hive &amp;amp; I was able to use this command to connect to hive using beeline using the command you provided.. thanks for that. &lt;/P&gt;&lt;P&gt;command -&amp;gt; !connect jdbc:hive2://sandbox.hortonworks.com:10000/default;principal=hive/sandbox.hortonworks.com@EXAMPLE.COM&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2016 15:04:55 GMT</pubDate>
    <dc:creator>karan_alang1</dc:creator>
    <dc:date>2016-12-07T15:04:55Z</dc:date>
    <item>
      <title>Herberized HDP 2.4 - not able to connect using Beeline</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Herberized-HDP-2-4-not-able-to-connect-using-Beeline/m-p/141207#M103810</link>
      <description>&lt;P&gt;Hi - i've a kerberized HDP 2.4 cluster, and i'm trying to access Hive using Beeline.&lt;/P&gt;Command used -&amp;gt;&lt;P&gt;!connect jdbc:hive2://sandbox.hortonworks.com:10001/default;principal=hive/sandbox.hortonworks.com@EXAMPLE.COM;hive.server2.transport.mode=binary;hive.server2.thrift.http.path=cliservice;auth=kerberos;hive.server2.thrift.sasl.qop=auth-int &lt;/P&gt;&lt;P&gt;Error :&lt;/P&gt;&lt;P&gt;Error: Could not open client transport with JDBC Uri: jdbc:hive2://sandbox.hortonworks.com:10001/default;principal=hive/sandbox.hortonworks.com@EXAMPLE.COM;hive.server2.transport.mode=binary;hive.server2.thrift.http.path=cliservice: java.net.ConnectException: Connection refused (state=08S01,code=0)&lt;/P&gt;&lt;P&gt;reference -&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_dataintegration/content/beeline-vs-hive-cli.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_dataintegration/content/beeline-vs-hive-cli.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Pls let me know what needs to be done ?&lt;/P&gt;&lt;P&gt;Also, what is the username/password to be put in, on firing the command above ?&lt;/P&gt;&lt;P&gt;I tried leaving it blank, and also the Unix hive username/passwd, but the error is the same.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 09:58:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Herberized-HDP-2-4-not-able-to-connect-using-Beeline/m-p/141207#M103810</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2016-12-07T09:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Herberized HDP 2.4 - not able to connect using Beeline</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Herberized-HDP-2-4-not-able-to-connect-using-Beeline/m-p/141208#M103811</link>
      <description>&lt;P&gt;try that !connect jdbc:hive2://sandbox.hortonworks.com:10001/default;&lt;A href="mailto:principal=hive/sandbox.hortonworks.com@EXAMPLE.COM"&gt;principal=hive/sandbox.hortonworks.com@EXAMPLE.COM&lt;/A&gt;&lt;/P&gt;&lt;P&gt;are you sure that is the correct principal? When you use kerberos, you are using a key to provide credentials. You do not need username and password&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 11:39:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Herberized-HDP-2-4-not-able-to-connect-using-Beeline/m-p/141208#M103811</guid>
      <dc:creator>knarayanan</dc:creator>
      <dc:date>2016-12-07T11:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Herberized HDP 2.4 - not able to connect using Beeline</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Herberized-HDP-2-4-not-able-to-connect-using-Beeline/m-p/141209#M103812</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10180/knarayanan.html" nodeid="10180"&gt;@Karthik Narayanan&lt;/A&gt;, &lt;/P&gt;&lt;P&gt;- yes, the principal is correct for user - hive &amp;amp; I was able to use this command to connect to hive using beeline using the command you provided.. thanks for that. &lt;/P&gt;&lt;P&gt;command -&amp;gt; !connect jdbc:hive2://sandbox.hortonworks.com:10000/default;principal=hive/sandbox.hortonworks.com@EXAMPLE.COM&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 15:04:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Herberized-HDP-2-4-not-able-to-connect-using-Beeline/m-p/141209#M103812</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2016-12-07T15:04:55Z</dc:date>
    </item>
  </channel>
</rss>

