You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Mark Webb <el...@gmail.com> on 2014/11/18 15:09:44 UTC

camel-hbase dependency inconsistency

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

Posted by Filippo Balicchia <fb...@gmail.com>.
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 <el...@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

Posted by "Sobkowiak, Krzysztof" <kr...@gmail.com>.
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=14083772&page=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.sobkowiak@gmail.com <ma...@gmail.com> |
Twitter: @KSobkowiak
Calendar: http://goo.gl/yvsebC

Re: camel-hbase dependency inconsistency

Posted by Krzysztof Sobkowiak <kr...@gmail.com>.
5.3.0 contains the same issue like 5.1.2. It will be solved in the next
release 5.3.1

Regards
Krzysztof
On Nov 19, 2014 3:56 PM, "Mark Webb" <el...@gmail.com> wrote:

> Thank you Krzysztof.  We are early in development, so we should have no
> issues moving to 5.3 right away.
>
>
>
> On Tue, Nov 18, 2014 at 6:00 PM, Sobkowiak, Krzysztof <
> krzys.sobkowiak@gmail.com> wrote:
>
> > 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=14083772&page=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.sobkowiak@gmail.com <ma...@gmail.com> |
> > Twitter: @KSobkowiak
> > Calendar: http://goo.gl/yvsebC
> >
>

Re: camel-hbase dependency inconsistency

Posted by Mark Webb <el...@gmail.com>.
Thank you Krzysztof.  We are early in development, so we should have no
issues moving to 5.3 right away.



On Tue, Nov 18, 2014 at 6:00 PM, Sobkowiak, Krzysztof <
krzys.sobkowiak@gmail.com> wrote:

> 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=14083772&page=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.sobkowiak@gmail.com <ma...@gmail.com> |
> Twitter: @KSobkowiak
> Calendar: http://goo.gl/yvsebC
>

Re: camel-hbase dependency inconsistency

Posted by "Sobkowiak, Krzysztof" <kr...@gmail.com>.
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=14083772&page=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.sobkowiak@gmail.com <ma...@gmail.com> |
Twitter: @KSobkowiak
Calendar: http://goo.gl/yvsebC