Mostafa Mokhtar has uploaded a new change for review. http://gerrit.cloudera.org:8080/2769
Change subject: IMPALA-1928 : Impala ODBC bad performance with Kerberos mechanism ...................................................................... IMPALA-1928 : Impala ODBC bad performance with Kerberos mechanism On the client side, the wrapping is backwards: SaslTransport(TBufferedTransport(socket)) When we write a structure, we end up doing lots of write calls which hit the TSaslTransport, which does no buffering. So it ends up producing an output that looks like [0, 0, 0, 1], <one char>, [0, 0, 0, 1], <one char>, etc. for each individual write call going into it. These end up buffered so we don't get lots of tiny packets on the send side. But on the receiver side, we are doing one recv call per Sasl frame. Change-Id: Iebcf6457091aef1fc0e5bd1549b3fcbafc5560d9 --- M be/src/rpc/thrift-client.h 1 file changed, 6 insertions(+), 4 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/69/2769/1 -- To view, visit http://gerrit.cloudera.org:8080/2769 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iebcf6457091aef1fc0e5bd1549b3fcbafc5560d9 Gerrit-PatchSet: 1 Gerrit-Project: Impala Gerrit-Branch: cdh5-trunk Gerrit-Owner: Mostafa Mokhtar <mmokh...@cloudera.com>