<?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 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/167063#M129395</link>
    <description>&lt;PRE&gt;conn_config ={'krb_host':'hostname','krb_service':'hive'}
pyhs2.connect(host='hostname',
                   port=10000,
                   authMechanism="KERBEROS",
                   password="********",
                  user='hostname@XXXXXXXXXXXXXXXXXXXX')&lt;/PRE&gt;&lt;PRE&gt;Error Encountered:
&lt;/PRE&gt;&lt;PRE&gt; user='XXXXXXX@XXXXXXXXXXXXXXXXXXXX')
  File "build\bdist.win-amd64\egg\pyhs2\__init__.py", line 7, in connect
  File "build\bdist.win-amd64\egg\pyhs2\connections.py", line 46, in __init__
  File "build\bdist.win-amd64\egg\pyhs2\cloudera\thrift_sasl.py", line 66, in open
thrift.transport.TTransport.TTransportException: Could not start SASL: Error in sasl_client_start (-4) SASL(-4): no mechanism available: Unable to find a callback: 2

&lt;/PRE&gt;&lt;PRE&gt;checked below string but still have same problem
&lt;A href="http://stackoverflow.com/questions/29814207/python-connect-to-hive-use-pyhs2-and-kerberos-authentication" target="_blank"&gt;http://stackoverflow.com/questions/29814207/python-connect-to-hive-use-pyhs2-and-kerberos-authentication&lt;/A&gt;
Can please some one help to solve ths problem. Your help is much appreciated&lt;/PRE&gt;</description>
    <pubDate>Mon, 07 Nov 2016 12:24:51 GMT</pubDate>
    <dc:creator>siddharth_peesa</dc:creator>
    <dc:date>2016-11-07T12:24:51Z</dc:date>
  </channel>
</rss>

