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] [Created] (FLINK-3608) ImmutableSettings error in ElasticsearchSink
Date Fri, 11 Mar 2016 11:09:00 GMT
Carlos Gonzalez de Zarate created FLINK-3608:

             Summary: 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

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,


This message was sent by Atlassian JIRA

View raw message