You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Johny Rufus (JIRA)" <ji...@apache.org> on 2015/07/28 05:35:04 UTC
[jira] [Updated] (FLUME-2749) Kerberos configuration error when
using short names in multiple HDFS Sinks
[ https://issues.apache.org/jira/browse/FLUME-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johny Rufus updated FLUME-2749:
-------------------------------
Attachment: FLUME-2749.patch
Modified to pre-1.6 style of checking if the current user trying to log in, is different than the already logged in user (Using KerberosUser class, that stores the configured Principal and keytab)
> Kerberos configuration error when using short names in multiple HDFS Sinks
> --------------------------------------------------------------------------
>
> Key: FLUME-2749
> URL: https://issues.apache.org/jira/browse/FLUME-2749
> Project: Flume
> Issue Type: Bug
> Affects Versions: v1.6.0
> Reporter: Johny Rufus
> Assignee: Johny Rufus
> Attachments: FLUME-2749.patch
>
>
> When we have more thank one HDFS Sink, configured in kerberos mode, and principal is configured with a short name like 'flume' (without the @REALM information), we get a
> java.lang.IllegalStateException: Cannot use multiple kerberos principals in the same agent. Must restart agent to use new principal or keytab. Previous = flume@EXAMPLE.COM (auth:KERBEROS), New = flume
> at com.google.common.base.Preconditions.checkState(Preconditions.java:172)
> at org.apache.flume.auth.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:131)
> at org.apache.flume.auth.FlumeAuthenticationUtil.getAuthenticator(FlumeAuthenticationUtil.java:67)
> at org.apache.flume.sink.hdfs.HDFSEventSink.configure(HDFSEventSink.java:261)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)