Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Done
-
None
-
None
-
ghx-label-11
Description
The following command takes 1.5 sec with hs2 and 8.5 sec with hs2-http ptotocol on my dev machine:
shell/impala_shell.py -B -q "select * from tpch_parquet.lineitem limit 100000;" --protocol hs2-http > /dev/null
Profiling has shown that the main culprit is calling socket.recv() 2809090 times. The root cause is the lack of buffering in our current http client implementation.
Attachments
Issue Links
- is related to
-
IMPALA-10354 impala-shell hs2-http 3x slower than hs2 with high-latency network
- Open