Details
-
Improvement
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
1.5.1, 1.7.0
-
None
-
None
Description
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.