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

Hari Shreedharan commented on FLUME-2225:
-----------------------------------------

At this point, if we really need this patch in, but not affect HDFS, I don't 
see another option - do you? We will need to shade the guava deps for this 
patch so elastic search sink uses guava 14.x while HDFS sink uses Guava 11.x.

It might be a bit of a pain though, as it looks like it is a dependency 
introduced by this patch that requires the guava packages - so we'd need to 
shade guava in the dependency too. As I hear it, it is possible to do this in 
the binary, without modifying the dependencies of the source code, but just 
painful to do.

So yeah, I am ok with it, as long as we can do it.

> Elasticsearch Sink for ES HTTP API
> ----------------------------------
>
>                 Key: FLUME-2225
>                 URL: https://issues.apache.org/jira/browse/FLUME-2225
>             Project: Flume
>          Issue Type: New Feature
>    Affects Versions: v1.5.0
>            Reporter: Otis Gospodnetic
>             Fix For: v1.4.1, v1.5.0
>
>         Attachments: FLUME-2225-0.patch, FLUME-2225-1.patch
>
>
> Existing ElasticSearchSink uses ES TransportClient.  As such, one cannot use 
> the ES HTTP API, which is sometimes easier, and doesn't have issues around 
> client and server/cluster components using incompatible versions - currently, 
> both client and server/cluster need to be on the same version.
> See
> http://search-hadoop.com/m/k76HH9Te68/otis&subj=Elasticsearch+sink+that+uses+HTTP+API



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to