<?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: Python connect to Hadoop using Hive with Kerberos authentication in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Python-connect-to-Hadoop-using-Hive-with-Kerberos/m-p/167069#M129401</link>
    <description>&lt;PRE&gt;hive_client = HiveClient(db_host='XXXXXXXXX.scglobaluat.aduat.scotiacapital.com', port=10000, authMechanism='GSSAPI', user='XXXXXXX', password='XXXXXX',database='tsz', kbservice='hive')
&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;The below is error code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please let me know where is the issue&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;
	Traceback (most recent call last): &lt;/P&gt;&lt;P&gt;  File "C:/Users/speesary/connct_server", line 33, in &amp;lt;module&amp;gt;
    database='tsz', kbservice='hive')
  File "C:/Users/speesary/connct_server", line 17, in __init__
    kerberos_service_name=kbservice &lt;/P&gt;&lt;P&gt;  File "C:\Users\speesary\AppData\Roaming\Python\Python27\site-packages\impala\dbapi.py", line 147, in connect
    auth_mechanism=auth_mechanism)&lt;/P&gt;&lt;P&gt;
  File "C:\Users\speesary\AppData\Roaming\Python\Python27\site-packages\impala\hiveserver2.py", line 658, in connect
    transport.open() &lt;/P&gt;&lt;P&gt;  File "C:\Users\speesary\AppData\Roaming\Python\Python27\site-packages\thrift_sasl\__init__.py", line 72, in open
    message=("Could not start SASL: %s" % self.sasl.getError()))
thrift.transport.TTransport.TTransportException:&lt;/P&gt;&lt;P&gt; Could not start SASL: Error in sasl_client_start (-4) SASL(-4): no mechanism available: Unable to find a callback: 2
Process finished with exit code 1&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2017 01:06:48 GMT</pubDate>
    <dc:creator>siddharth_peesa</dc:creator>
    <dc:date>2017-01-19T01:06:48Z</dc:date>
  </channel>
</rss>

