Sailesh Mukil has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/7428

Change subject: [SECURITY] Use KRPC's Kinit code to avoid expensive fork
......................................................................

[SECURITY] Use KRPC's Kinit code to avoid expensive fork

Impala currently kinits by forking off a subprocess. This
has proved to be expensive in many cases since the subprocess
tries to reserve as much memory as Impala is currently using
which can be quite a lot.

This patch removes our kinit-thread and uses KRPCs kinit code
instead which programatically uses the krb5 library to kinit
and renew tickets.

Testing: Verified with rpc-mgr-test and also manually on a
live kerberized cluster.

Change-Id: I576ff4d2ffcca75f9247132e11c7a2ca50b255bc
---
M be/src/kudu/security/init.cc
M be/src/rpc/CMakeLists.txt
M be/src/rpc/auth-provider.h
M be/src/rpc/authentication.cc
4 files changed, 11 insertions(+), 68 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I576ff4d2ffcca75f9247132e11c7a2ca50b255bc
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Sailesh Mukil <[email protected]>

Reply via email to