Hi Ioan,

You could simply define an additional dependency to the mailbox-hbase of type 'test-jar' (with scope test).

This will give you access to the HBaseClusterSingleton from data-hbase.

We talked about previously talked about a james-common project, but never decided anything about that. It's not obvious to argue for, because there would be a bit of everything in that module. The main drawback would be that we would have a one more step in the release process.

Thx,
Eric


On 09/03/12 16:32, Ioan Eugen Stan wrote:
Hello,

I've started upgrading James components to use hbase 0.92 and hadop
1.0.1. I've moved mailbox and mailbox-integration-testing
successfully. However, I have encountered some problems with upgrading
data-hbase module from james-server. The tests fail because of some
issues with the minicluster (region not found exception or something
like that).

Eric could you please investigate this? I think the issue is related
to the way the MiniCluster is started/stopped and would be happy to
take care of this issue by using the HBase test classes I created for
HBase mailbox and integrate them here.

Since we need to share the test infrastructure and maybe some other
stuff between James components that require HBase/ Hadoop I wish to
propose developing a common module where we could store this kind of
stuff. I think this is useful since HBase/ Hadoop tooling is not yet
as mature as other technologies such as databases.

WDYT?

Regards,


--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to