<?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: Beeline connection fails with: Peer indicated failure: Unsupported mechanism type PLAIN in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100152#M13097</link>
    <description>&lt;P&gt;Did you figure out why this happens though? Is @ a special character?&lt;/P&gt;</description>
    <pubDate>Tue, 23 Feb 2016 16:26:57 GMT</pubDate>
    <dc:creator>sohaib1692</dc:creator>
    <dc:date>2016-02-23T16:26:57Z</dc:date>
    <item>
      <title>Beeline connection fails with: Peer indicated failure: Unsupported mechanism type PLAIN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100141#M13086</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am running a fresh installed HDP cluster with Kerberos enabled.&lt;/P&gt;&lt;P&gt;I try to connect to Hive using beeline command:&lt;/P&gt;&lt;PRE&gt;beeline -u jdbc:hive2://deala01876.corp:10000/default;principal=hive/deala01876.corp@HDP.REALM&lt;/PRE&gt;&lt;P&gt;I receive the following error:&lt;/P&gt;&lt;PRE&gt;scan complete in 5ms
Connecting to jdbc:hive2://deala01876.corp:10000/default
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/hdp/2.2.4.2-2/hadoop/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/2.2.4.2-2/hive/lib/hive-jdbc-0.14.0.2.2.4.2-2-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings..."&gt;http://www.slf4j.org/codes.html#multiple_bindings...&lt;/A&gt; for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Error: Could not open client transport with JDBC Uri: jdbc:hive2://deala01876.corp:10000/default: Peer indicated failure: Unsupported mechanism type PLAIN (state=08S01,code=0)
Beeline version 0.14.0.2.2.4.2-2 by Apache Hive
0: jdbc:hive2://deala01876.corp:1 (closed)&amp;gt; &lt;/PRE&gt;&lt;P&gt;The local user has a valid Kerberos ticket, as well as the hive user on the Hiveserver node.&lt;/P&gt;&lt;P&gt;HiveServer2 authentication is set to "Kerberos", and property "hive.server2.authentication.kerberos.principal" is set to value " hive/_HOST@HDP.REALM"&lt;/P&gt;&lt;P&gt;What is going wrong here, what to check further ?&lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2015 03:15:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100141#M13086</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2015-12-20T03:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Beeline connection fails with: Peer indicated failure: Unsupported mechanism type PLAIN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100142#M13087</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt;  please paste output of klist&lt;/P&gt;&lt;P&gt;make sure that you have correct/valid ticket.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2015 07:46:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100142#M13087</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-20T07:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Beeline connection fails with: Peer indicated failure: Unsupported mechanism type PLAIN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100143#M13088</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.hortonworks.com/questions/7337/beeline-connection-fails-with-peer-indicated-failu.html#"&gt;@Neeraj Sabharwal&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;here the details from the &lt;STRONG&gt;client node&lt;/STRONG&gt;, from which I want to execute beeline:&lt;/P&gt;&lt;PRE&gt;W999711@DEALA01885:~$ kinit -kt /etc/security/keytabs/w999711.user.keytab w999711
W999711@DEALA01885:~$ klist
Ticket cache: FILE:/tmp/krb5cc_2001012
Default principal: w999711@HDP.REALM
Valid starting     Expires            Service principal
12/20/15 11:48:17  12/21/15 11:48:17  krbtgt/HDP.REALM@HDP.REALM
        renew until 12/20/15 11:48:17
W999711@DEALA01885:~$ beeline -u jdbc:hive2://deala01876.corp:10000/default;principal=hive/deala01876.corp@HDP.REALM
scan complete in 5ms
Connecting to jdbc:hive2://deala01876.corp:10000/default
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/hdp/2.2.4.2-2/hadoop/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/2.2.4.2-2/hive/lib/hive-jdbc-0.14.0.2.2.4.2-2-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
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.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Error: Could not open client transport with JDBC Uri: jdbc:hive2://deala01876.corp:10000/default: Peer indicated failure: Unsupported mechanism type PLAIN (state=08S01,code=0)
Beeline version 0.14.0.2.2.4.2-2 by Apache Hive
0: jdbc:hive2://deala01876.corp:1 (closed)&amp;gt;&lt;/PRE&gt;&lt;P&gt;and here the details from the node running &lt;STRONG&gt;Hiveserver2&lt;/STRONG&gt;:&lt;/P&gt;&lt;PRE&gt;$ klist
Ticket cache: FILE:/tmp/krb5cc_16940
Default principal: hive/deala01876.corp@HDP.REALM
Valid starting     Expires            Service principal
12/19/15 20:46:28  12/20/15 20:46:28  krbtgt/HDP.REALM@HDP.REALM
        renew until 12/19/15 20:46:28
hive@DEALA01876:/home/hive 0
$ tail -f /var/log/hadooplogs/hive/hiveserver2.log
...
2015-12-20 11:53:03,660 ERROR [HiveServer2-Handler-Pool: Thread-56]: server.TThreadPoolServer (TThreadPoolServer.java:run(215)) - Error occurred during processing of message.
java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: Unsupported mechanism type PLAIN
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$HiveSaslServerTransportFactory.getTransport(HadoopThriftAuthBridge.java:180)
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S$Server$TUGIAssumingTransportFactory$1.run(HadoopThriftAuthBridge20S.java:726)
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S$Server$TUGIAssumingTransportFactory$1.run(HadoopThriftAuthBridge20S.java:723)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:356)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1608)
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S$Server$TUGIAssumingTransportFactory.getTransport(HadoopThriftAuthBridge20S.java:723)
        at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:189)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.thrift.transport.TTransportException: Unsupported mechanism type PLAIN
        at org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage(TSaslTransport.java:221)
        at org.apache.thrift.transport.TSaslServerTransport.handleSaslStartMessage(TSaslServerTransport.java:138)
        at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:253)
        at org.apache.thrift.transport.TSaslServerTransport.open(TSaslServerTransport.java:41)
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$HiveSaslServerTransportFactory.getTransport(HadoopThriftAuthBridge.java:177)
        ... 10 more&lt;/PRE&gt;</description>
      <pubDate>Sun, 20 Dec 2015 19:02:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100143#M13088</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2015-12-20T19:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Beeline connection fails with: Peer indicated failure: Unsupported mechanism type PLAIN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100144#M13089</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt;&lt;P&gt; In the hiveserver2 server, Get the ticket using hive keytab and then try to login to beeline. Paste the output of klist once you get the ticket &lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2015 21:14:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100144#M13089</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-20T21:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Beeline connection fails with: Peer indicated failure: Unsupported mechanism type PLAIN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100145#M13090</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.hortonworks.com/questions/7337/beeline-connection-fails-with-peer-indicated-failu.html#"&gt;@Neeraj Sabharwal&lt;/A&gt; , &lt;/P&gt;&lt;P&gt;on the Hiveserver2 server I have no keytab available for my personal user-id (w999711) with which I want to create a beeline connection. Therefore I tried to connect as (OS-)user 'hive' via beeline, but receive the same error message:&lt;/P&gt;&lt;PRE&gt;$ kdestroy
hive@DEALA01876:/home/hive 0
$ klist
klist: No credentials cache found (ticket cache FILE:/tmp/krb5cc_16940)
hive@DEALA01876:/home/hive 1
$ kinit -kt /etc/security/keytabs/hive.service.keytab hive/deala01876.corp
hive@DEALA01876:/home/hive 0
$ klist
Ticket cache: FILE:/tmp/krb5cc_16940
Default principal: hive/deala01876.corp@HDP.REALM
Valid starting     Expires            Service principal
12/20/15 15:29:05  12/21/15 15:29:05  krbtgt/HDP.REALM@HDP.REALM
        renew until 12/20/15 15:29:05
hive@DEALA01876:/home/hive 0
$ beeline -u jdbc:hive2://deala01876.corp:10000/default;principal=hive/deala01876.corp@HDP.REALM
scan complete in 5ms
Connecting to jdbc:hive2://deala01876.corp:10000/default
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/hdp/2.2.4.2-2/hadoop/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/2.2.4.2-2/hive/lib/hive-jdbc-0.14.0.2.2.4.2-2-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
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.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Error: Could not open client transport with JDBC Uri: jdbc:hive2://deala01876.corp:10000/default: Peer indicated failure: Unsupported mechanism type PLAIN (state=08S01,code=0)
Beeline version 0.14.0.2.2.4.2-2 by Apache Hive
0: jdbc:hive2://deala01876.corp:1 (closed)&amp;gt;&lt;/PRE&gt;&lt;P&gt;..and below the corresponding config values from /etc/hive/conf.server/&lt;/P&gt;&lt;PRE&gt;/etc/hive/conf.server/hive-site.xml-    &amp;lt;property&amp;gt;
/etc/hive/conf.server/hive-site.xml:      &amp;lt;name&amp;gt;hive.server2.authentication&amp;lt;/name&amp;gt;
/etc/hive/conf.server/hive-site.xml-      &amp;lt;value&amp;gt;KERBEROS&amp;lt;/value&amp;gt;
/etc/hive/conf.server/hive-site.xml-    &amp;lt;/property&amp;gt;
/etc/hive/conf.server/hive-site.xml-
/etc/hive/conf.server/hive-site.xml-    &amp;lt;property&amp;gt;
/etc/hive/conf.server/hive-site.xml:      &amp;lt;name&amp;gt;hive.server2.authentication.kerberos.keytab&amp;lt;/name&amp;gt;
/etc/hive/conf.server/hive-site.xml-      &amp;lt;value&amp;gt;/etc/security/keytabs/hive.service.keytab&amp;lt;/value&amp;gt;
/etc/hive/conf.server/hive-site.xml-    &amp;lt;/property&amp;gt;
/etc/hive/conf.server/hive-site.xml-
/etc/hive/conf.server/hive-site.xml-    &amp;lt;property&amp;gt;
/etc/hive/conf.server/hive-site.xml:      &amp;lt;name&amp;gt;hive.server2.authentication.kerberos.principal&amp;lt;/name&amp;gt;
/etc/hive/conf.server/hive-site.xml-      &amp;lt;value&amp;gt;hive/_HOST@HDP.REALM&amp;lt;/value&amp;gt;
/etc/hive/conf.server/hive-site.xml-    &amp;lt;/property&amp;gt;
/etc/hive/conf.server/hive-site.xml-
/etc/hive/conf.server/hive-site.xml-    &amp;lt;property&amp;gt;
/etc/hive/conf.server/hive-site.xml:      &amp;lt;name&amp;gt;hive.server2.authentication.spnego.keytab&amp;lt;/name&amp;gt;
/etc/hive/conf.server/hive-site.xml-      &amp;lt;value&amp;gt;/etc/security/keytabs/spnego.service.keytab&amp;lt;/value&amp;gt;
/etc/hive/conf.server/hive-site.xml-    &amp;lt;/property&amp;gt;
/etc/hive/conf.server/hive-site.xml-
/etc/hive/conf.server/hive-site.xml-    &amp;lt;property&amp;gt;
/etc/hive/conf.server/hive-site.xml:      &amp;lt;name&amp;gt;hive.server2.authentication.spnego.principal&amp;lt;/name&amp;gt;
/etc/hive/conf.server/hive-site.xml-      &amp;lt;value&amp;gt;HTTP/_HOST@HDP.REALM&amp;lt;/value&amp;gt;
/etc/hive/conf.server/hive-site.xml-    &amp;lt;/property&amp;gt;
/etc/hive/conf.server/hive-site.xml-
/etc/hive/conf.server/hive-site.xml-    &amp;lt;property&amp;gt;
/etc/hive/conf.server/hive-site.xml:      &amp;lt;name&amp;gt;hive.server2.enable.doAs&amp;lt;/name&amp;gt;
/etc/hive/conf.server/hive-site.xml-      &amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;
/etc/hive/conf.server/hive-site.xml-    &amp;lt;/property&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 20 Dec 2015 22:38:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100145#M13090</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2015-12-20T22:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Beeline connection fails with: Peer indicated failure: Unsupported mechanism type PLAIN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100146#M13091</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;From the beeline log, it is clear that the beeline is still not able to understand that you want to communication over Kerberos. Can you please post the output of same the beeline command with '-v' flag?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2015 15:15:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100146#M13091</guid>
      <dc:creator>VR46</dc:creator>
      <dc:date>2015-12-21T15:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Beeline connection fails with: Peer indicated failure: Unsupported mechanism type PLAIN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100147#M13092</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/740/vrathor.html" nodeid="740"&gt;@Vipin Rathor&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;thanks for jumping in &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; . Please find the output below (unfortunately not that meaningful.....):&lt;/P&gt;&lt;PRE&gt;W999711@DEALA01885:~$ beeline --verbose=true -u jdbc:hive2://deala01876.corp:10000/default;principal=hive/_HOST@HDP.REALM                
issuing: !connect jdbc:hive2://deala01876.corp:10000/default '' ''
scan complete in 5ms
Connecting to jdbc:hive2://deala01876.corp:10000/default
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/hdp/2.2.4.2-2/hadoop/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/2.2.4.2-2/hive/lib/hive-jdbc-0.14.0.2.2.4.2-2-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings..."&gt;http://www.slf4j.org/codes.html#multiple_bindings...&lt;/A&gt; for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Error: Could not open client transport with JDBC Uri: jdbc:hive2://deala01876.corp:10000/default: Peer indicated failure: Unsupported mechanism type PLAIN (state=08S01,code=0)
java.sql.SQLException: Could not open client transport with JDBC Uri: jdbc:hive2://deala01876.corp:10000/default: Peer indicated failure: Unsupported mechanism type PLAIN
        at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:215)
        at org.apache.hive.jdbc.HiveConnection.&amp;lt;init&amp;gt;(HiveConnection.java:163)
        at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)
        at java.sql.DriverManager.getConnection(DriverManager.java:571)
        at java.sql.DriverManager.getConnection(DriverManager.java:187)
        at org.apache.hive.beeline.DatabaseConnection.connect(DatabaseConnection.java:138)
        at org.apache.hive.beeline.DatabaseConnection.getConnection(DatabaseConnection.java:179)
        at org.apache.hive.beeline.Commands.connect(Commands.java:1078)
        at org.apache.hive.beeline.Commands.connect(Commands.java:999)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.hive.beeline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:45)
        at org.apache.hive.beeline.BeeLine.dispatch(BeeLine.java:936)
        at org.apache.hive.beeline.BeeLine.initArgs(BeeLine.java:698)
        at org.apache.hive.beeline.BeeLine.begin(BeeLine.java:748)
        at org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java:476)
        at org.apache.hive.beeline.BeeLine.main(BeeLine.java:459)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Caused by: org.apache.thrift.transport.TTransportException: Peer indicated failure: Unsupported mechanism type PLAIN
        at org.apache.thrift.transport.TSaslTransport.receiveSaslMessage(TSaslTransport.java:190)
        at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:288)
        at org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37)
        at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:190)
        ... 24 more
Beeline version 0.14.0.2.2.4.2-2 by Apache Hive
0: jdbc:hive2://deala01876.corp:1 (closed)&amp;gt;&lt;/PRE&gt;&lt;P&gt;...and the error message is the same, either using "_HOST" or the real hostname "deala01876.corp" in the principal.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2015 15:44:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100147#M13092</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2015-12-21T15:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Beeline connection fails with: Peer indicated failure: Unsupported mechanism type PLAIN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100148#M13093</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/740/vrathor.html" nodeid="740"&gt;@Vipin Rathor&lt;/A&gt; , &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;, &lt;/P&gt;&lt;P&gt;it is solved.....and what a stupid cause &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The connection can be established if I put quotes around the JDBC URL =&amp;gt;&lt;/P&gt;&lt;PRE&gt;W999711@DEALA01885:~$ beeline -u "jdbc:hive2://deala01876.corp:10000/default;principal=hive/deala01876.corp@HDP.REALM"
scan complete in 5ms
Connecting to jdbc:hive2://deala01876.corp:10000/default;principal=hive/deala01876.corp@HDP.REALM
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/hdp/2.2.4.2-2/hadoop/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/2.2.4.2-2/hive/lib/hive-jdbc-0.14.0.2.2.4.2-2-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
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.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Connected to: Apache Hive (version 0.14.0.2.2.4.2-2)
Driver: Hive JDBC (version 0.14.0.2.2.4.2-2)
Transaction isolation: TRANSACTION_REPEATABLE_READ
Beeline version 0.14.0.2.2.4.2-2 by Apache Hive
0: jdbc:hive2://deala01876.corp:1&amp;gt;&lt;/PRE&gt;&lt;P&gt;sorry for causing any confusion &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2015 17:54:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100148#M13093</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2015-12-21T17:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Beeline connection fails with: Peer indicated failure: Unsupported mechanism type PLAIN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100149#M13094</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt;  That's :))&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2015 17:55:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100149#M13094</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-21T17:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Beeline connection fails with: Peer indicated failure: Unsupported mechanism type PLAIN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100150#M13095</link>
      <description>&lt;P&gt;try beeline --verbose=true -u "jdbc:hive2://deala01876.corp:10000/default;principal=hive/_HOST@HDP.REALM"&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jan 2016 16:31:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100150#M13095</guid>
      <dc:creator>margusja</dc:creator>
      <dc:date>2016-01-10T16:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Beeline connection fails with: Peer indicated failure: Unsupported mechanism type PLAIN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100151#M13096</link>
      <description>&lt;P&gt;The one liner :&lt;/P&gt;&lt;P&gt;beeline -u "jdbc:hive2://ip-hive-server-ip separated with hifen&amp;gt;:10000/default;principal=driver-details" -n $USER&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2016 21:36:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100151#M13096</guid>
      <dc:creator>murari_goswami</dc:creator>
      <dc:date>2016-01-12T21:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Beeline connection fails with: Peer indicated failure: Unsupported mechanism type PLAIN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100152#M13097</link>
      <description>&lt;P&gt;Did you figure out why this happens though? Is @ a special character?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 16:26:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-fails-with-Peer-indicated-failure/m-p/100152#M13097</guid>
      <dc:creator>sohaib1692</dc:creator>
      <dc:date>2016-02-23T16:26:57Z</dc:date>
    </item>
  </channel>
</rss>

