RE: Lucene SPI class loading fails with shaded flink-connector-elasticsearch

2018-03-23 Thread Haddadi Manuel
n). Cheers, Manuel De : Tzu-Li (Gordon) Tai Envoyé : vendredi 23 mars 2018 10:40:52 À : Till Rohrmann; Haddadi Manuel Cc : flink-u...@apache.org Objet : Re: Lucene SPI class loading fails with shaded flink-connector-elasticsearch Hi Manuel, Thanks a lot for

Re: Lucene SPI class loading fails with shaded flink-connector-elasticsearch

2018-03-23 Thread Tzu-Li (Gordon) Tai
Hi Manuel, Thanks a lot for reporting this! Yes, this issue is most likely related to the recent changes to shading the Elasticsearch connector dependencies, though it is a bit curious why I didn’t bump into it before while testing it. The Flink job runs Lucene queries on a data stream which e

Re: Lucene SPI class loading fails with shaded flink-connector-elasticsearch

2018-03-22 Thread Till Rohrmann
Hi Manuel, thanks for reporting this issue. It sounds to me like a bug we should fix. I've pulled Gordon into the conversation since he will most likely know more about the ElasticSearch connector shading. Cheers, Till On Thu, Mar 22, 2018 at 5:09 PM, Haddadi Manuel wrote: > Hello, > > When up

Lucene SPI class loading fails with shaded flink-connector-elasticsearch

2018-03-22 Thread Haddadi Manuel
Hello, When upgrading from flink-1.3.2 to flink-1.4.2, I faced this error on runtime of a Flink job : java.util.ServiceConfigurationError: An SPI class of type org.apache.lucene.codecs.PostingsFormat with classname org.apache.lucene.search.suggest.document.Completion50PostingsFormat does not