You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Sailesh Mukil (JIRA)" <ji...@apache.org> on 2018/02/05 23:17:00 UTC

[jira] [Resolved] (IMPALA-6448) Re-enable kerberized testing with KRPC

     [ https://issues.apache.org/jira/browse/IMPALA-6448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sailesh Mukil resolved IMPALA-6448.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 2.12.0

Commit in:
https://github.com/apache/impala/commit/9ac9f7e3f8f327a3cade75548a85106190c8842c

IMPALA-6448: Re-enable kerberized testing with KRPC

For the patch for IMPALA-5054, we realized that we needed to make
the kudu::rpc::Messenger configurable. A patch was done on the Kudu
side which is tracked by KUDU-2228. As part of that patch, one of
the design decisions taken was to only allow kerberos either on or
off for the entirety of the process life. This means that we cannot
switch kerberos on and off in the same process any more with KRPC.
This behavior can be found in SaslInit() in kudu/rpc/sasl_common.cc
as SaslInit() which is called once per process will hard code some
configuration which cannot be toggled.

This affected our kerberized rpc-mgr-tests. This patch splits out
the kerberized part of rpc-mgr-test into rpc-mgr-kerberized-test.

It also puts the common code between both the files into
rpc-mgr-test-base.h

Change-Id: I6412978316de90875c98f8fbe51c8d215c227b18
Reviewed-on: http://gerrit.cloudera.org:8080/9164
Reviewed-by: Sailesh Mukil <sa...@cloudera.com>
Tested-by: Impala Public Jenkins

> Re-enable kerberized testing with KRPC
> --------------------------------------
>
>                 Key: IMPALA-6448
>                 URL: https://issues.apache.org/jira/browse/IMPALA-6448
>             Project: IMPALA
>          Issue Type: Sub-task
>            Reporter: Sailesh Mukil
>            Assignee: Sailesh Mukil
>            Priority: Critical
>             Fix For: Impala 2.12.0
>
>
> For the patch for IMPALA-5054, we realized that we needed to make the kudu::rpc::Messenger configurable. A patch was done on the Kudu side which is tracked by KUDU-2228. As part of that patch, one of the design decisions taken was to only allow kerberos either on or off for the entirety of the process life. This means that we cannot switch kerberos on and off in the same process any more with KRPC.
>  
> This makes the testing a little more complicated since we use a Gtest switch to switch between kerberos and plain SASL.
>  
> A fix for this is to split out kerberized testing from rpc-mgr-test into a new file and keep all the common code in rpc-mgr-test-base.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)