You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (JIRA)" <ji...@apache.org> on 2016/03/23 14:25:25 UTC

[jira] [Resolved] (FLINK-3608) ImmutableSettings error in ElasticsearchSink

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

Robert Metzger resolved FLINK-3608.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.1.0

Resolved with: FLINK-3115

> ImmutableSettings error in ElasticsearchSink
> --------------------------------------------
>
>                 Key: FLINK-3608
>                 URL: https://issues.apache.org/jira/browse/FLINK-3608
>             Project: Flink
>          Issue Type: Bug
>          Components: other
>    Affects Versions: 0.10.1
>            Reporter: Carlos Gonzalez de Zarate
>              Labels: elasticsearch, features, sinks
>             Fix For: 1.1.0
>
>
> I'm trying to use ElasticsearchSink with Flink 0.10.2 and Elasticsearch 2.2.0, and I'm having the following error:
> java.lang.NoClassDefFoundError: org/elasticsearch/common/settings/ImmutableSettings
> 	at org.apache.flink.streaming.connectors.elasticsearch.ElasticsearchSink.open(ElasticsearchSink.java:177)
> 	at org.apache.flink.api.common.functions.util.FunctionUtils.openFunction(FunctionUtils.java:36)
> 	at org.apache.flink.streaming.api.operators.AbstractUdfStreamOperator.open(AbstractUdfStreamOperator.java:89)
> 	at org.apache.flink.streaming.runtime.tasks.StreamTask.openAllOperators(StreamTask.java:286)
> 	at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:213)
> 	at org.apache.flink.runtime.taskmanager.Task.run(Task.java:584)
> 	at java.lang.Thread.run(Thread.java:745)
> The problem seems to be the use of the class ImmutableSettings, that has been removed since Elastisearch 2.0. I imagine that with previous versions of Elasticsearch (i.e: 1.7.1) it will work correctly.
> Reference: https://github.com/elastic/elasticsearch/issues/13151
> Thanks in advanced,
> Carlos



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)