Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6.0
-
None
-
None
Description
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)