java.lang.NoSuchMethodError and dependencies problem

2017-10-19 Thread r. r.
Hello I have a job that runs an Apache Tika pipeline and it fails with "Caused by: java.lang.NoSuchMethodError: org.apache.commons.compress.archivers.ArchiveStreamFactory.detect(Ljava/io/InputStream;)Ljava/lang/String;" Flink includes commons-compress 1.4.1, while Tika needs 1.14. I also have A

Re: java.lang.NoSuchMethodError and dependencies problem

2017-10-19 Thread Piotr Nowojski
Hi, What is the full stack trace of the error? Are you sure that there is no commons-compresss somewhere in the classpath (like in the lib directory)? How are you running your Flink cluster? Piotrek > On 19 Oct 2017, at 13:34, r. r. wrote: > > Hello > I have a job that runs an Apache Tika pip

Re: java.lang.NoSuchMethodError and dependencies problem

2017-10-19 Thread r. r.
ns.com >Относно: Re: java.lang.NoSuchMethodError and dependencies problem >До: "r. r." >Изпратено на: 19.10.2017 18:00 > Hi, > > What is the full stack trace of the error? > Are you sure that there is no commons-compresss somewhere in the classpath >

Re: java.lang.NoSuchMethodError and dependencies problem

2017-10-19 Thread Piotr Nowojski
k.streaming.api.operators.StreamSource.run(StreamSource.java:87) > at > org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:55) > at > org.apache.flink.streaming.runtime.tasks.SourceStreamTask.run(SourceStreamTask.java:95) > at > org.apache.flink.streaming.runtime.tasks.Stre

Re: java.lang.NoSuchMethodError and dependencies problem

2017-10-19 Thread r. r.
=/ Best regards > Оригинално писмо >От: Piotr Nowojski pi...@data-artisans.com >Относно: Re: java.lang.NoSuchMethodError and dependencies problem >До: "r. r." >Изпратено на: 19.10.2017 20:04 > I’m not 100% sure, so treat my answer with

Re: java.lang.NoSuchMethodError and dependencies problem

2017-10-20 Thread Piotr Nowojski
--- Оригинално писмо > >> От: Piotr Nowojski pi...@data-artisans.com > >> Относно: Re: java.lang.NoSuchMethodError and dependencies problem > >> До: "r. r." > >> Изпратено на: 19.10.2017 20:04 > > > > >> I’m not 100

Re: java.lang.NoSuchMethodError and dependencies problem

2017-10-20 Thread r. r.
hanks! > Оригинално писмо >От: Piotr Nowojski pi...@data-artisans.com >Относно: Re: java.lang.NoSuchMethodError and dependencies problem >До: "r. r." >Изпратено на: 20.10.2017 14:46 > But you said > > > this seems to work as mvn dep

Re: java.lang.NoSuchMethodError and dependencies problem

2017-10-20 Thread Piotr Nowojski
t; >> Оригинално писмо > >> От: Piotr Nowojski pi...@data-artisans.com > >> Относно: Re: java.lang.NoSuchMethodError and dependencies problem > >> До: "r. r." > >> Изпратено на: 20.10.2017 14:46 > > > > >