help-gsasl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Could not connect SASL ERROR


From: anil
Subject: Could not connect SASL ERROR
Date: Sat, 2 Jun 2018 11:59:46 +0530

Hi ,

 

  We want establish the connection from python to Hadoop cluster , we installed packages for this

 

1)      Pyhive

2)      Sasl

3)      Thrift

4)      Thrift-sasl

But we are getting error so please can you help on this.

Code :

 

from pyhive import hive

conn = hive.Connection(host="YOUR_HIVE_HOST", port=PORT, username="YOU")

 

cursor = conn.cursor()
cursor.execute("SELECT cool_stuff FROM hive_table")
for result in cursor.fetchall():
  use_result(result)

 

Thanks & Regards,

 

M.ANIL KUMAR




Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com


Attachment: screenshot.PNG
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]