Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2700

Support Elasticsearch 1.3.x~1.5.x in Flume-Elasticsearch-Sink

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 1.5.1, 1.7.0
    • None
    • Sinks+Sources
    • 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.

      Attachments

        1. FLUME-2700.patch
          21 kB
          Weichen Ye

        Activity

          People

            Unassigned Unassigned
            yeweichen Weichen Ye
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: