[ 
https://issues.apache.org/jira/browse/FLUME-2921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15370147#comment-15370147
 ] 

Lior Zeno commented on FLUME-2921:
----------------------------------

Flume ships all of its deps, that is true. Elasticsearch is an optional 
dependency,therefore it is not shipped together and we don't have conflicting 
guava versions in the same classpath. 
In addition, we had the same problem with the previous release, users that 
wanted to use this sink had to copy elasticsearch along with its deps to the 
library dir. This caused collisions of both Guava and Jackson. In this case, if 
the user wants to use elasticsearch alongside another sink with colliding 
versions, he has to deal with it via shading. I find it completely reasonable, 
as we cannot ship shaded versions for each dependency we use. 

> Support Elasticsearch 2.0+
> --------------------------
>
>                 Key: FLUME-2921
>                 URL: https://issues.apache.org/jira/browse/FLUME-2921
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>            Reporter: Lior Zeno
>            Assignee: Lior Zeno
>             Fix For: v1.7.0
>
>         Attachments: FLUME-2921-0.patch, FLUME-2921-1.patch
>
>
> Elasticsearch sink supports an ancient version of ES. We should make the sink 
> work with newer versions of Elasticsearch.
> I attached a patch for that. Please note that this involves upgrading netty 
> and guava.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to