Hi,

java.lang.NoSuchMethodError: 
org.apache.flink.util.InstantiationUtil.isSerializable(Ljava/lang/Object;)Z
        at 
org.apache.flink.streaming.connectors.elasticsearch.ElasticsearchSinkBase.<init>(ElasticsearchSinkBase.java:195)
        at 
org.apache.flink.streaming.connectors.elasticsearch5.ElasticsearchSink.<init>(ElasticsearchSink.java:95)
        at 
org.apache.flink.streaming.connectors.elasticsearch5.ElasticsearchSink.<init>(
The reason for this exception is because the `isSerializable `method only 
exists in 1.3-SNAPSHOT of `flink-core` at the moment. These kind of errors can 
usually be expected to happen if you are using mismatching versions of Flink 
libraries and core Flink dependencies.

Elasticsearch 5 will be released with Flink 1.3.0 (targeted release time is end 
of May). For the time being, if Elasticsearch 5 is a must, you could try 
implementing a copy of the `isSerializable` method under the exact same package 
path / method and class name in your own project. However, I can not guarantee 
that this will work as there may be other conflicts.

- Gordon



On March 2, 2017 at 10:47:52 PM, Fábio Dias (fabiodio...@gmail.com) wrote:

java.lang.NoSuchMethodError: 
org.apache.flink.util.InstantiationUtil.isSerializable(Ljava/lang/Object;)Z
        at 
org.apache.flink.streaming.connectors.elasticsearch.ElasticsearchSinkBase.<init>(ElasticsearchSinkBase.java:195)
        at 
org.apache.flink.streaming.connectors.elasticsearch5.ElasticsearchSink.<init>(ElasticsearchSink.java:95)
        at 
org.apache.flink.streaming.connectors.elasticsearch5.ElasticsearchSink.<init>(

Reply via email to