camel-hbase dependency inconsistency

2014-11-18 Thread Mark Webb
Sorry for the cross-post, I'm not sure if this is a ServiceMix or Camel
problem.

I am working on some data routes that will push data to HBase within
ServiceMix.  My development environment depends on Apache Camel 2.13.2,
specifically the camel-hbase component version 2.13.2 depends on avro
1.5.3.  This is according to the dependency hierarchy that maven provides.
I only have camel-base version 2.13.2 listed in my pom.xml and maven pulls
in the dependencies.  I'm not specifically including avro.

When I deploy the camel-hbase feature in ServiceMix 5.1.2 I get an error
saying that I must deploy avro  = 1.7.7.  So it seems like the same
version of the camel-hbase component relies on 2 different versions of
avro: 1.5.3 for development and 1.7.7 for deployment within ServiceMix.

Is there any way to fix this problem?

Thanks,
Mark


Re: camel-hbase dependency inconsistency

2014-11-18 Thread Filippo Balicchia
Hi Mark,
did you try servicemix 5.14 to check if with camel 2.13.3
the problem is resolved ?

Regards

--Filippo

2014-11-18 15:09 GMT+01:00 Mark Webb elihusma...@gmail.com:
 Sorry for the cross-post, I'm not sure if this is a ServiceMix or Camel
 problem.

 I am working on some data routes that will push data to HBase within
 ServiceMix.  My development environment depends on Apache Camel 2.13.2,
 specifically the camel-hbase component version 2.13.2 depends on avro
 1.5.3.  This is according to the dependency hierarchy that maven provides.
 I only have camel-base version 2.13.2 listed in my pom.xml and maven pulls
 in the dependencies.  I'm not specifically including avro.

 When I deploy the camel-hbase feature in ServiceMix 5.1.2 I get an error
 saying that I must deploy avro  = 1.7.7.  So it seems like the same
 version of the camel-hbase component relies on 2 different versions of
 avro: 1.5.3 for development and 1.7.7 for deployment within ServiceMix.

 Is there any way to fix this problem?

 Thanks,
 Mark


Re: camel-hbase dependency inconsistency

2014-11-18 Thread Sobkowiak, Krzysztof
Hi Mark

There was a problem with camel-avro included in ServiceMix 5.1.2
(https://issues.apache.org/jira/browse/CAMEL-7655). The same problem
probably was for camel-hbase as it uses avro too. ServiceMix 5.1.4
includes the Camel version which fixes this problem. You should use the
new version.

But there is another known problem
(https://issues.apache.org/jira/browse/SM-2323) with freeze while
refreshing some bundles. I have tested installation of camel-hbase on
5.1.4 and I had this problem. You should add camel-hbase at the end of
featuresBoot in org.apache.karaf.features.cfg to solve this problem.
This problem will not occur in ServiceMix 5.3.x and later based on Karaf
2.4.x or Karaf 3.0.x

If you still need to use ServiceMix 5.1.2 ther is a workaround described
here
https://issues.apache.org/jira/browse/SM-2346?focusedCommentId=14083772page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14083772

I hope it helps to solve you problem

Regards
Krzysztof




On 18-Nov-2014 15:09, Mark Webb wrote:
 Sorry for the cross-post, I'm not sure if this is a ServiceMix or Camel
 problem.

 I am working on some data routes that will push data to HBase within
 ServiceMix.  My development environment depends on Apache Camel 2.13.2,
 specifically the camel-hbase component version 2.13.2 depends on avro
 1.5.3.  This is according to the dependency hierarchy that maven provides.
 I only have camel-base version 2.13.2 listed in my pom.xml and maven pulls
 in the dependencies.  I'm not specifically including avro.

 When I deploy the camel-hbase feature in ServiceMix 5.1.2 I get an error
 saying that I must deploy avro  = 1.7.7.  So it seems like the same
 version of the camel-hbase component relies on 2 different versions of
 avro: 1.5.3 for development and 1.7.7 for deployment within ServiceMix.

 Is there any way to fix this problem?

 Thanks,
 Mark


-- 
Krzysztof Sobkowiak

JEE  OSS Architect | Technical Architect @ Capgemini | Committer @ ASF
Capgemini http://www.pl.capgemini.com/ | Software Solutions Center
http://www.pl.capgemini-sdm.com/ | Wroclaw
e-mail: krzys.sobkow...@gmail.com mailto:krzys.sobkow...@gmail.com |
Twitter: @KSobkowiak
Calendar: http://goo.gl/yvsebC