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

Support timeout in ES Sink

    XMLWordPrintableJSON

Details

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

    Description

      Credits to Otis, From ML

      Hi,

      I don't have a very good bug report, but I want to share one problem with
      Flume we observed the other day. Specifically, with Elasticsearch Sink and
      AWS ELB, but others may have this problem, too.

      In short, ELB has this notion of a Spillover where it can reject requests
      when it can't handle the load. Unfortunately, it doesn't actually signal
      this by closing the connection, so Flume's connection remains open, I
      believe in some java.net....... readSocket(....) method.

      To work around this we had to add a socket timeout in our custom version of
      Flume's Elasticsearch Sink.

      I think it's worth fixing this in Flume and checking if other Sinks need
      this sort of timeout.

      HTH

      Otis

      Attachments

        Activity

          People

            Unassigned Unassigned
            paliwalashish Ashish Paliwal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: