You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Jason Blanks (JIRA)" <ji...@apache.org> on 2018/06/28 19:55:00 UTC

[jira] [Closed] (BEAM-4674) Update ElasticsearchIO.java to support the current version 6.

     [ https://issues.apache.org/jira/browse/BEAM-4674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Blanks closed BEAM-4674.
------------------------------
       Resolution: Duplicate
    Fix Version/s: Not applicable

Appears these maybe the same, marking as dupe.  Would be nice to have before v7 though.

> Update ElasticsearchIO.java to support the current version 6.
> -------------------------------------------------------------
>
>                 Key: BEAM-4674
>                 URL: https://issues.apache.org/jira/browse/BEAM-4674
>             Project: Beam
>          Issue Type: Wish
>          Components: io-java-elasticsearch
>            Reporter: Jason Blanks
>            Assignee: Etienne Chauchot
>            Priority: Major
>              Labels: easyfix
>             Fix For: Not applicable
>
>
> The current version only checks for versions 2 & 5.   It would fail on the current release of 6.  Im not certain but I don't think there would be any difference from 5 -> 6.
> [code link|https://github.com/apache/beam/blob/master/sdks/java/io/elasticsearch/src/main/java/org/apache/beam/sdk/io/elasticsearch/ElasticsearchIO.java]
> {quote}checkArgument((backendVersion == 2 || backendVersion == 5),
>  "The Elasticsearch version to connect to is %s.x. "
>  + "This version of the ElasticsearchIO is only compatible with "
>  + "Elasticsearch v5.x and v2.x",
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)