<?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 beeline and kerberos connections problem in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/beeline-and-kerberos-connections-problem/m-p/92103#M3803</link>
    <description>&lt;P&gt;Hi dear Community,&lt;/P&gt;
&lt;P&gt;When I want to connect hive with beeline I get this error. Could you help me please.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[hive@bdhost008 bin]$ beeline -u "jdbc:hive2://bdhost008:10000/default;principal=hive/bdhost008@TEST.COM"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&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-6.2.0-1.cdh6.2.0.p0.967373/jars/log4j-slf4j-impl-2.8.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;BR /&gt;SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-6.2.0-1.cdh6.2.0.p0.967373/jars/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;BR /&gt;SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank" rel="noopener"&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://bdhost008:10000/default;principal=hive/bdhost008@TEST.COM&lt;BR /&gt;19/06/28 20:16:45 [main]: WARN jdbc.HiveConnection: Failed to connect to bdhost008:10000&lt;BR /&gt;Error: Could not open client transport with JDBC Uri: jdbc:hive2://bdhost008:10000/default;principal=hive/bdhost008@TEST.COM: &lt;STRONG&gt;Failed to open new session: java.lang.IllegalArgumentException: Cannot modify hive.query.redaction.rules at runtime. It is not in list of params that are allowed to be modified at runtime (state=08S01,code=0)&lt;/STRONG&gt;&lt;BR /&gt;Beeline version 2.1.1-cdh6.2.0 by Apache Hive&lt;BR /&gt;beeline&amp;gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 14:28:44 GMT</pubDate>
    <dc:creator>RashadX</dc:creator>
    <dc:date>2022-09-16T14:28:44Z</dc:date>
    <item>
      <title>beeline and kerberos connections problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/beeline-and-kerberos-connections-problem/m-p/92103#M3803</link>
      <description>&lt;P&gt;Hi dear Community,&lt;/P&gt;
&lt;P&gt;When I want to connect hive with beeline I get this error. Could you help me please.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[hive@bdhost008 bin]$ beeline -u "jdbc:hive2://bdhost008:10000/default;principal=hive/bdhost008@TEST.COM"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&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-6.2.0-1.cdh6.2.0.p0.967373/jars/log4j-slf4j-impl-2.8.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;BR /&gt;SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-6.2.0-1.cdh6.2.0.p0.967373/jars/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;BR /&gt;SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank" rel="noopener"&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://bdhost008:10000/default;principal=hive/bdhost008@TEST.COM&lt;BR /&gt;19/06/28 20:16:45 [main]: WARN jdbc.HiveConnection: Failed to connect to bdhost008:10000&lt;BR /&gt;Error: Could not open client transport with JDBC Uri: jdbc:hive2://bdhost008:10000/default;principal=hive/bdhost008@TEST.COM: &lt;STRONG&gt;Failed to open new session: java.lang.IllegalArgumentException: Cannot modify hive.query.redaction.rules at runtime. It is not in list of params that are allowed to be modified at runtime (state=08S01,code=0)&lt;/STRONG&gt;&lt;BR /&gt;Beeline version 2.1.1-cdh6.2.0 by Apache Hive&lt;BR /&gt;beeline&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:28:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/beeline-and-kerberos-connections-problem/m-p/92103#M3803</guid>
      <dc:creator>RashadX</dc:creator>
      <dc:date>2022-09-16T14:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: beeline and kerberos connections problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/beeline-and-kerberos-connections-problem/m-p/92512#M3804</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to not put /default at the end of connection string, because it looks that your user cannot switch to default database during connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 11:37:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/beeline-and-kerberos-connections-problem/m-p/92512#M3804</guid>
      <dc:creator>bgrabows</dc:creator>
      <dc:date>2019-07-10T11:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: beeline and kerberos connections problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/beeline-and-kerberos-connections-problem/m-p/92584#M3805</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It looks like that you have set configuration hive.query.redaction.rules somewhere, though I can't see it from the command you ran. Couple of things to check:&lt;BR /&gt;&lt;BR /&gt;1. run "which beeline" to confirm that you are running original beeline command, not a custom one&lt;BR /&gt;&lt;BR /&gt;2. check under ~/.beeline directory to see if there is any user level files that might override the default settings&lt;BR /&gt;&lt;BR /&gt;3. use different users to run beeline to see if there is any differences.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Eric</description>
      <pubDate>Wed, 10 Jul 2019 23:48:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/beeline-and-kerberos-connections-problem/m-p/92584#M3805</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2019-07-10T23:48:29Z</dc:date>
    </item>
  </channel>
</rss>

