Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2749

Kerberos configuration error when using short names in multiple HDFS Sinks

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      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)

        Attachments

          Activity

            People

            • Assignee:
              jrufus Johny Rufus
              Reporter:
              jrufus Johny Rufus
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: