<?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 Unable to use beenline under security cluster in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-use-beenline-under-security-cluster/m-p/127798#M22919</link>
    <description>&lt;P&gt;In the sandbox, I enable the kerborse and want to login beeline using command &lt;/P&gt;&lt;PRE&gt;!connect jdbc:hive2://localhost:10000&lt;/PRE&gt;&lt;P&gt;But got the error &lt;/P&gt;&lt;PRE&gt;Error: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10000: Peer indicated failure: Unsupported mechanism type PLAIN (state=08S01,code=0)&lt;/PRE&gt;&lt;P&gt;And here's the log in hiveserver2.log&lt;/P&gt;&lt;PRE&gt;2016-03-15 07:52:31,067 ERROR [HiveServer2-Handler-Pool: Thread-45]: server.TThreadPoolServer (TThreadPoolServer.java:run(296)) - Error occurred during processing of message.
java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: Unsupported mechanism type PLAIN
        at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:219)
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$Server$TUGIAssumingTransportFactory$1.run(HadoopThriftAuthBridge.java:739)
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$Server$TUGIAssumingTransportFactory$1.run(HadoopThriftAuthBridge.java:736)
        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:1637)
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$Server$TUGIAssumingTransportFactory.getTransport(HadoopThriftAuthBridge.java:736)&lt;/PRE&gt;</description>
    <pubDate>Tue, 15 Mar 2016 14:57:07 GMT</pubDate>
    <dc:creator>jzhang</dc:creator>
    <dc:date>2016-03-15T14:57:07Z</dc:date>
    <item>
      <title>Unable to use beenline under security cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-use-beenline-under-security-cluster/m-p/127798#M22919</link>
      <description>&lt;P&gt;In the sandbox, I enable the kerborse and want to login beeline using command &lt;/P&gt;&lt;PRE&gt;!connect jdbc:hive2://localhost:10000&lt;/PRE&gt;&lt;P&gt;But got the error &lt;/P&gt;&lt;PRE&gt;Error: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10000: Peer indicated failure: Unsupported mechanism type PLAIN (state=08S01,code=0)&lt;/PRE&gt;&lt;P&gt;And here's the log in hiveserver2.log&lt;/P&gt;&lt;PRE&gt;2016-03-15 07:52:31,067 ERROR [HiveServer2-Handler-Pool: Thread-45]: server.TThreadPoolServer (TThreadPoolServer.java:run(296)) - Error occurred during processing of message.
java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: Unsupported mechanism type PLAIN
        at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:219)
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$Server$TUGIAssumingTransportFactory$1.run(HadoopThriftAuthBridge.java:739)
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$Server$TUGIAssumingTransportFactory$1.run(HadoopThriftAuthBridge.java:736)
        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:1637)
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$Server$TUGIAssumingTransportFactory.getTransport(HadoopThriftAuthBridge.java:736)&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Mar 2016 14:57:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-use-beenline-under-security-cluster/m-p/127798#M22919</guid>
      <dc:creator>jzhang</dc:creator>
      <dc:date>2016-03-15T14:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use beenline under security cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-use-beenline-under-security-cluster/m-p/127799#M22920</link>
      <description>&lt;P&gt;If you have enabled kerberos your connection string should look as follows:&lt;/P&gt;&lt;PRE&gt;!connect jdbc:hive2://&amp;lt;hiveserver host&amp;gt;:&amp;lt;port&amp;gt;/default;principal=hive/_HOST@&amp;lt;REALM&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Mar 2016 15:21:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-use-beenline-under-security-cluster/m-p/127799#M22920</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2016-03-15T15:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use beenline under security cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-use-beenline-under-security-cluster/m-p/127800#M22921</link>
      <description>&lt;P&gt;Thanks, it works.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2016 17:25:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-use-beenline-under-security-cluster/m-p/127800#M22921</guid>
      <dc:creator>jzhang</dc:creator>
      <dc:date>2016-03-15T17:25:28Z</dc:date>
    </item>
  </channel>
</rss>

