[ 
https://issues.apache.org/jira/browse/FLUME-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14220066#comment-14220066
 ] 

Ryan Blue commented on FLUME-2557:
----------------------------------

This doesn't test the case where the current user does have a TGT but wants to 
log in as a different user. I believe that's the case when another thread has 
already logged in and has a TGT. So we should exercise the 
{{finalPrincipal.equals(currentUser.getUserName()}} check in both the case 
where the final principal is already logged in and has a TGT and the case where 
we're trying to log in as a different user. Other than that, this looks good to 
me.

> DatasetSink doesn't work with Kerberos
> --------------------------------------
>
>                 Key: FLUME-2557
>                 URL: https://issues.apache.org/jira/browse/FLUME-2557
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: v1.5.2
>            Reporter: Joey Echeverria
>            Assignee: Joey Echeverria
>             Fix For: v1.6.0
>
>         Attachments: FLUME-2557.patch
>
>
> When configuring Kerberos, you'll get an error such as:
> Sink kite-dataset has been removed due to an error during configuration
> org.apache.flume.sink.kite.KerberosUtil$SecurityException: Cannot use
> multiple Kerberos principals:
> flume/[email protected] would replace flume



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to