I am able to connect to hive from Python using PyHive library. While fetching data from hive using PyHive I am facing issue Connection reset by peer
.
After connection established I am fetching data from hive using PyHive from Python. Connection is getting successful but while fetching data from hive it runs for fore than 5 mins and then throws connection reset by peer
.
from pyhive import
hive conn = hive.Connection(host="host1", port="",auth="", database="",kerberos_service_name="") #successfully connection established
cur = conn.cursor() cur.execute(query1) #(sometimes it works and some times it throws "Connection reset by peer" if query runs more than 5min)