You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Weichen Ye (JIRA)" <ji...@apache.org> on 2015/10/23 11:04:27 UTC
[jira] [Commented] (FLUME-2700) Support Elasticsearch 1.3.x~1.5.x
in Flume-Elasticsearch-Sink
[ https://issues.apache.org/jira/browse/FLUME-2700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14970674#comment-14970674 ]
Weichen Ye commented on FLUME-2700:
-----------------------------------
Anyone pay attention to this problem and the patch?
> Support Elasticsearch 1.3.x~1.5.x in Flume-Elasticsearch-Sink
> --------------------------------------------------------------
>
> Key: FLUME-2700
> URL: https://issues.apache.org/jira/browse/FLUME-2700
> Project: Flume
> Issue Type: Improvement
> Components: Sinks+Sources
> Affects Versions: v1.5.1, v1.7.0
> Reporter: Weichen Ye
> Attachments: FLUME-2700.patch
>
>
> For now, flume-elasticsearch-sink is compiled with Elasticsearch-0.9.1, which was released in May 2013. During these two years, the Java API for Elasticsearch changes a lot, especially from version 0.9.x to 1.3.x.
> This lead to a problem for us: when we change the pom.xml and set the elasticsearch.version to a higher version, like 1.3.x, 1.4.x, 1.5.x, the old tests would fail or come out with errors. Some old APIs in the tests in elasticsearch sink are replaced by new API.
> This patch fix all these compatibility problems in elasticsearch API in tests. With this new patch, we can compile flume-elasticsearch-sink with elasticsearch version 1.3.x, 1.4.x and1.5.x.
> This patch also change the default elasticsearch.version to 1.5.2.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)