dropbox / dropbox/PyHive

execute hive query hangs

Open
#251 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.7k
Forks
545
PR merge metrics
No merged PRs in 30d

Description

When use the pyhive to execute the SQL, the execution takes more than 25 minutes, causing a hang problem that prevents the program from proceeding to the next step, even though the hive job has been executed. I use dtruss to trace the python program about kernel calls,and found that the python side did not receive the socket-related packages.
-----------------------------------------------------
nomal kernel call:
SYSCALL(args) = return
recvfrom(0x5, 0x10274AC20, 0x6D) = 109 0
sendto(0x5, 0x102798518, 0x64) = 100 0
recvfrom(0x5, 0x102750C80, 0x4) = 4 0
recvfrom(0x5, 0x10278F5A0, 0x2A) = 42 0
sendto(0x5, 0x10272EA28, 0x57) = 87 0
recvfrom(0x5, 0x102750E38, 0x4) = 4 0
recvfrom(0x5, 0x10278F5F0, 0x28) = 40 0
close(0x5) = 0 0
-----------------------------------------------------
abnormal kernel call:
SYSCALL(args) = return
^C

Env:
external programs use iptables to access Hive in private networks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.