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

Kerberos configuration error when using short names in multiple HDFS Sinks

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment