[
https://issues.apache.org/jira/browse/FLUME-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14504956#comment-14504956
]
Otis Gospodnetic commented on FLUME-2661:
-----------------------------------------
Thanks for opening this, Ashish. Checked again with the person at Sematext who
did this and the short version of the story is that we use something that's
deprecated so adding this to Flume to that deprecated class/method wouldn't
make sense. So I think this is Won't Fix, Ashish.
> Support timeout in ES Sink
> --------------------------
>
> Key: FLUME-2661
> URL: https://issues.apache.org/jira/browse/FLUME-2661
> Project: Flume
> Issue Type: Bug
> Components: Sinks+Sources
> Affects Versions: v1.5.1
> Reporter: Ashish Paliwal
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)