Joe McDonnell has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/19806


Change subject: IMPALA-11785: Warn if Thrift fastbinary is not working for 
impala-shell
......................................................................

IMPALA-11785: Warn if Thrift fastbinary is not working for impala-shell

Thrift's fastbinary module provides native code that
accelerations the BinaryProtocol. It can make a large
performance difference when using the Hiveserver2
protocol with impala-shell. If the fastbinary is not
working, it silently falls back to interpreted code.
This can happen because the fastbinary couldn't load
a particular library, etc.

This adds a warning on impala-shell startup when
it detects that Thrift's fastbinary is not working.

Testing:
 - Added a simple test that verifies the impala-shell
   does not output the warning

Change-Id: Id5d0e5db5cfdf1db4521b00f912b4697a7f646e8
---
M shell/impala_shell.py
M tests/shell/test_shell_commandline.py
2 files changed, 14 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/06/19806/1
--
To view, visit http://gerrit.cloudera.org:8080/19806
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id5d0e5db5cfdf1db4521b00f912b4697a7f646e8
Gerrit-Change-Number: 19806
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <[email protected]>

Reply via email to