<?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 ERROR: Connecting to Kerberos Enabled Hive using Beeline Connection String in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ERROR-Connecting-to-Kerberos-Enabled-Hive-using-Beeline/m-p/364682#M239211</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am unable to access Hive using Beeline connection string in the edge node. The JDBC String that I am using is as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;beeline -u "jdbc:hive2://Example.com:10000/default;principal=hive/Example.com@EXAMPLE.COM"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Unknown HS2 problem when communicating with Thrift server.&lt;BR /&gt;Error:jdbc:hive2://Example.com:10000/default;principal=hive/Example.com@EXAMPLE.COM: Invalid status 21 (state=08S01,code=0)&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Help is required to fix this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2023 08:55:23 GMT</pubDate>
    <dc:creator>Nur</dc:creator>
    <dc:date>2023-02-27T08:55:23Z</dc:date>
    <item>
      <title>ERROR: Connecting to Kerberos Enabled Hive using Beeline Connection String</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-Connecting-to-Kerberos-Enabled-Hive-using-Beeline/m-p/364682#M239211</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am unable to access Hive using Beeline connection string in the edge node. The JDBC String that I am using is as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;beeline -u "jdbc:hive2://Example.com:10000/default;principal=hive/Example.com@EXAMPLE.COM"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Unknown HS2 problem when communicating with Thrift server.&lt;BR /&gt;Error:jdbc:hive2://Example.com:10000/default;principal=hive/Example.com@EXAMPLE.COM: Invalid status 21 (state=08S01,code=0)&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Help is required to fix this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 08:55:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-Connecting-to-Kerberos-Enabled-Hive-using-Beeline/m-p/364682#M239211</guid>
      <dc:creator>Nur</dc:creator>
      <dc:date>2023-02-27T08:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Connecting to Kerberos Enabled Hive using Beeline Connection String</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-Connecting-to-Kerberos-Enabled-Hive-using-Beeline/m-p/364685#M239212</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103381"&gt;@Nur&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. are you using SSL ?&lt;/P&gt;&lt;P&gt;2. Provide&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;beeline -u "jdbc:hive2://Example.com:10000/default;principal=hive/Example.com@EXAMPLE.COM" --berbose=true&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. Hiveserver2 logs&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 09:15:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-Connecting-to-Kerberos-Enabled-Hive-using-Beeline/m-p/364685#M239212</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2023-02-27T09:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Connecting to Kerberos Enabled Hive using Beeline Connection String</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-Connecting-to-Kerberos-Enabled-Hive-using-Beeline/m-p/364703#M239216</link>
      <description>&lt;P&gt;1. Yes Iam using ssl&lt;/P&gt;&lt;P&gt;2. In below image have provided the output from the connection string&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nur_0-1677495893240.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36863i810C21AFCEA35E5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nur_0-1677495893240.png" alt="Nur_0-1677495893240.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3. Have provided the SS for the log file in the below image.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nur_1-1677497072695.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36864iEAA168F8E87D8322/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nur_1-1677497072695.png" alt="Nur_1-1677497072695.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 11:24:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-Connecting-to-Kerberos-Enabled-Hive-using-Beeline/m-p/364703#M239216</guid>
      <dc:creator>Nur</dc:creator>
      <dc:date>2023-02-27T11:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Connecting to Kerberos Enabled Hive using Beeline Connection String</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-Connecting-to-Kerberos-Enabled-Hive-using-Beeline/m-p/364704#M239217</link>
      <description>&lt;P&gt;I see that you are using CDP 7.1.7. Follow below steps if youare using autoTLS&lt;/P&gt;&lt;P&gt;1. Check TrustStore Password:&lt;BR /&gt;======&lt;BR /&gt;# cat /etc/hive/conf/ssl-client.xml | grep -i -A1 "ssl.client.truststore.password"&lt;BR /&gt;&amp;lt;name&amp;gt;ssl.client.truststore.password&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;truststore_password&amp;lt;/value&amp;gt;&lt;BR /&gt;======&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2. Below should be used for Kerberos + SSL&lt;BR /&gt;beeline -u "jdbc:hive2://xxxxxx10000/default;principal=hive/xxxxx@CREAL;ssl=true;sslTrustStore=/var/lib/cloudera-scm-agent/agent-cert/cm-auto-global_truststore.jks;trustStorePassword=trsutpwd"&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 11:33:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-Connecting-to-Kerberos-Enabled-Hive-using-Beeline/m-p/364704#M239217</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2023-02-27T11:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Connecting to Kerberos Enabled Hive using Beeline Connection String</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-Connecting-to-Kerberos-Enabled-Hive-using-Beeline/m-p/365194#M239302</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103381"&gt;@Nur&lt;/a&gt;,&amp;nbsp;Have the replies helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 05:46:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-Connecting-to-Kerberos-Enabled-Hive-using-Beeline/m-p/365194#M239302</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2023-03-03T05:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Connecting to Kerberos Enabled Hive using Beeline Connection String</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-Connecting-to-Kerberos-Enabled-Hive-using-Beeline/m-p/394022#M248643</link>
      <description>&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;I am also facing the same error while connecting via beeline with ssl and kerberos on the server:&lt;BR /&gt;root@ip-172-31-13-77:~# beeline -u jdbc:hive2://ec2-52-66-58-15.ap-south-1.compute.amazonaws.com:10000/default;principal=hive/ec2-52-66-58-15.ap-south-1.compute.amazonaws.com@AP-SOUTH-1.COMPUTE.AMAZONAWS.COM;saslqop=auth-conf&lt;BR /&gt;SLF4J: Class path contains multiple SLF4J bindings.&lt;BR /&gt;SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/jars/log4j-slf4j-impl-2.13.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;BR /&gt;SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/jars/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;BR /&gt;SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; for an explanation.&lt;BR /&gt;SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]&lt;BR /&gt;WARNING: Use "yarn jar" to launch YARN applications.&lt;BR /&gt;SLF4J: Class path contains multiple SLF4J bindings.&lt;BR /&gt;SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/jars/log4j-slf4j-impl-2.13.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;BR /&gt;SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/jars/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;BR /&gt;SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; for an explanation.&lt;BR /&gt;SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]&lt;BR /&gt;Connecting to jdbc:hive2://ec2-52-66-58-15.ap-south-1.compute.amazonaws.com:10000/default&lt;BR /&gt;24/09/26 11:44:18 [main]: WARN jdbc.HiveConnection: Failed to connect to ec2-52-66-58-15.ap-south-1.compute.amazonaws.com:10000&lt;BR /&gt;Unknown HS2 problem when communicating with Thrift server.&lt;BR /&gt;Error: Could not open client transport with JDBC Uri: jdbc:hive2://ec2-52-66-58-15.ap-south-1.compute.amazonaws.com:10000/default: Invalid status 21 (state=08S01,code=0)&lt;/P&gt;&lt;P&gt;Please connect with someone expert on this&amp;nbsp; domain and get me correct .&lt;BR /&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Ankit Bishnoi&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 11:45:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-Connecting-to-Kerberos-Enabled-Hive-using-Beeline/m-p/394022#M248643</guid>
      <dc:creator>bish765485</dc:creator>
      <dc:date>2024-09-26T11:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Connecting to Kerberos Enabled Hive using Beeline Connection String</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-Connecting-to-Kerberos-Enabled-Hive-using-Beeline/m-p/394059#M248657</link>
      <description>&lt;P&gt;Any there from cloudera to help me on this issue.....&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 06:55:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-Connecting-to-Kerberos-Enabled-Hive-using-Beeline/m-p/394059#M248657</guid>
      <dc:creator>bish765485</dc:creator>
      <dc:date>2024-09-27T06:55:19Z</dc:date>
    </item>
  </channel>
</rss>

