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

FLumeAuthenticator.startCredentialRefresher is not called in HDFS sink source

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.0
    • None
    • Sinks+Sources
    • None

    Description

      I have a long running service which uses HDFS sink to push data to a Kerberos-enabled HDFS cluster.
      However, the HDFS sink always fail after 10 hours running saying something like:
      16 Nov 2015 10:32:54,400 WARN (org.apache.hadoop.security.UserGroupInformation.hasSufficientTimeElapsed:1168) - Not attempting to re-login since the last re-login was attempted less than 600 seconds before.

      And then later followed by some " GSS initiate failed".

      I checked the FlumeAuthenticator and found that there's a method "startCredentialRefresher" which will spawn a new thread to do relogin.
      I believe this method should be called in the HDFSEventSink.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stanley_shi stanley shi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: