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

Kerberos configuration error when using short names in multiple HDFS Sinks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.7.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)

      Attachments

        1. FLUME-2749.patch
          8 kB
          Johny Rufus

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: