<?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: How to enable a pyhive connection with python 3.5 - SASL issue in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-enable-a-pyhive-connection-with-python-3-5-SASL-issue/m-p/208130#M170089</link>
    <description>&lt;P&gt;We (I should say, IT-team) find a solution&lt;/P&gt;&lt;P&gt;Upgrade of python packages thrift (to version 0.10.0) and
PyHive (to version 0.3.0) don’t know why the version we used wasn’t the latest.&lt;/P&gt;&lt;P&gt;Added the following:&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;  
&amp;lt;name&amp;gt;hive.server2.authentication&amp;lt;/name&amp;gt;   
&amp;lt;value&amp;gt;NOSASL&amp;lt;/value&amp;gt;&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;in the hive config&lt;/P&gt;&lt;PRE&gt;from pyhive import hive
conn = hive.Connection(host="myserver",
auth='NOSASL')import pandas as pd
import sys
df = pd.read_sql("SELECT * FROM my_table",
conn)print(sys.getsizeof(df))
df.head()&lt;/PRE&gt;&lt;P&gt;worked without problem then.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jun 2017 21:23:09 GMT</pubDate>
    <dc:creator>burtom</dc:creator>
    <dc:date>2017-06-20T21:23:09Z</dc:date>
  </channel>
</rss>

