flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Gonzalez de Zarate (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-3608) ImmutableSettings error in ElasticsearchSink
Date Fri, 11 Mar 2016 11:13:05 GMT

    [ https://issues.apache.org/jira/browse/FLINK-3608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15190810#comment-15190810
] 

Carlos Gonzalez de Zarate commented on FLINK-3608:
--------------------------------------------------

I'm using the transport client

> 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
>
> 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)

Mime
View raw message