Re: Error with HBase and Solr job

2016-12-23 Thread Flavio Pompermaier
Found the problem...I compiled my flink dist using maven 3.3.9 but I didn't rerun install from dist directory as specified at https://ci.apache.org/projects/flink/flink-docs-release-1.1/setup/building.html#dependency-shading . Why is it necessary to recompile flink-dist? Best, Flavio On Fri, Dec

Re: Error with HBase and Solr job

2016-12-23 Thread Flavio Pompermaier
Ok thans Stephan! On 23 Dec 2016 21:16, "Stephan Ewen" wrote: > I would just google for Guava conflict and "shading". Its a fairly common > problem with Guava, there are quite a few guides out there how to address > that. > > On Fri, Dec 23, 2016 at 9:12 PM, Flavio Pompermaier > wrote: > >> Wha

Re: Error with HBase and Solr job

2016-12-23 Thread Stephan Ewen
I would just google for Guava conflict and "shading". Its a fairly common problem with Guava, there are quite a few guides out there how to address that. On Fri, Dec 23, 2016 at 9:12 PM, Flavio Pompermaier wrote: > What do you meab exactly...? do you have a snippet of how I should edit > the pom

Re: Error with HBase and Solr job

2016-12-23 Thread Flavio Pompermaier
What do you meab exactly...? do you have a snippet of how I should edit the pom? On 23 Dec 2016 19:31, "Stephan Ewen" wrote: > You have the classical guava version conflict. Flink itself shades Guava > away, but there may be multiple conflicting dependencies in your case > (HBase / Solr). > > I

Re: Error with HBase and Solr job

2016-12-23 Thread Stephan Ewen
You have the classical guava version conflict. Flink itself shades Guava away, but there may be multiple conflicting dependencies in your case (HBase / Solr). I would try to see which of the tool/libraries (HBase, Solr, ...) depend on Guava and create a shaded version of one of them On Fri, Dec 2

Error with HBase and Solr job

2016-12-23 Thread Flavio Pompermaier
Hi to all, I have a source HBase table and I have to write to a Solr index. Unfortunately when I try to run the program on the cluster (Flink 1.1.1) I think I have some problem with dependencies. Can someone suggest me some fix? This is the error I have just after launching the job: Caused by: o