|
|
-
Connecting to HBase from OSGi
Niels Nuyttens 2011-03-21, 18:23
Hi all,
I don't know how familiar you are with OSGi, but I thought I'd give this one a go... Would it be possible to connect to HBase from an OSGi (Spring Dynamic Modules) application? I'm not familiar with the background of classloading etc, so I can't figure this one out on myself. Perhaps one of you has some experience in this field...
Thanks in advance,
Niels
-
RE: Connecting to HBase from OSGi
Peter Haidinyak 2011-03-21, 19:29
Bundling together all the jar to run HBase under OSGi might be a challenge but I don't see why it wouldn't work. I've never used Spring DM, just Felix.
-Pete
-----Original Message----- From: Niels Nuyttens [mailto:[EMAIL PROTECTED]] Sent: Monday, March 21, 2011 11:23 AM To: [EMAIL PROTECTED] Subject: Connecting to HBase from OSGi
Hi all,
I don't know how familiar you are with OSGi, but I thought I'd give this one a go... Would it be possible to connect to HBase from an OSGi (Spring Dynamic Modules) application? I'm not familiar with the background of classloading etc, so I can't figure this one out on myself. Perhaps one of you has some experience in this field...
Thanks in advance,
Niels
-
Re: Connecting to HBase from OSGi
Bryan Keller 2011-03-23, 17:35
Yes you can, I use Felix and Eclipse Virgo Blueprint in my app, and it connects to HBase. The HBase and Hadoop jars are not bundles, however, so you will need to either put them on the boot classpath, package them inside your bundle jar, or turn them into bundles yourself.
On Mar 21, 2011, at 11:23 AM, Niels Nuyttens wrote:
> Hi all, > > I don't know how familiar you are with OSGi, but I thought I'd give this > one a go... > Would it be possible to connect to HBase from an OSGi (Spring Dynamic > Modules) application? I'm not familiar with the background of > classloading etc, so I can't figure this one out on myself. Perhaps one > of you has some experience in this field... > > Thanks in advance, > > Niels >
-
Re: Connecting to HBase from OSGi
Niels Nuyttens 2011-03-23, 17:41
Thank you for your answers! I got a bit further, yet now I'm struggling with zookeeper. I'm getting a NullPointerException when calling ZookeeperWrapper.getZookeeperClusterKey.
Any ideas on what this means? Could this be a configuration problem?
Kind regards,
Niels
On Wed, 2011-03-23 at 10:35 -0700, Bryan Keller wrote: > Yes you can, I use Felix and Eclipse Virgo Blueprint in my app, and it connects to HBase. The HBase and Hadoop jars are not bundles, however, so you will need to either put them on the boot classpath, package them inside your bundle jar, or turn them into bundles yourself. > > On Mar 21, 2011, at 11:23 AM, Niels Nuyttens wrote: > > > Hi all, > > > > I don't know how familiar you are with OSGi, but I thought I'd give this > > one a go... > > Would it be possible to connect to HBase from an OSGi (Spring Dynamic > > Modules) application? I'm not familiar with the background of > > classloading etc, so I can't figure this one out on myself. Perhaps one > > of you has some experience in this field... > > > > Thanks in advance, > > > > Niels > > >
|
|