Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # dev - Decision/Discussion about HBASE-2170: Lightweight client/Refactoring of source tree


Copy link to this message
-
Re: Decision/Discussion about HBASE-2170: Lightweight client/Refactoring of source tree
Lars Francke 2010-05-14, 08:54
I'm sorry I must have missed your answer somehow.

> The problem with using 1 jar "everywhere" is that the client
> dependencies are more than the server ones.  So to use the client you
> only need zookeeper and hadoop, but the server also needs JSP, JspC,
> etc, etc, things we'd rather not have our clients have to pull into
> their classpath.

Exactly.

> Maybe we can publish a POM with a stripped down set of deps?  Would
> that be a reasonable half solution? :-)

That would be possible too, yes. As you aptly named it: It's a
reasonable half solution :) It'd be great if folks could just add a
dependency on org.apache.hbase:hbase-client and be done with it. I
think users won't care that much about how it is done but I think it
would be a step in the right direction and make adoption of HBase even
easier.

The separation of code would make this distinction even clearer and
the dependencies easier to maintain but I'm good with any (agreed
upon) solution for this problem.

Cheers,
Lars