You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Ioan Eugen Stan <st...@gmail.com> on 2012/03/09 16:32:06 UTC

problems upgrading data-hbase to HBase 0.92

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,

-- 
Ioan Eugen Stan
http://ieugen.blogspot.com/

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


Re: problems upgrading data-hbase to HBase 0.92

Posted by Ioan Eugen Stan <st...@gmail.com>.
2012/3/10 Eric Charles <er...@apache.org>:
> 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
>

Hello Eric,

Ok, will use test classifier. Not pretty to add mailbox artifact
dependency but considering that it's for tests and will not go in the
main jar I guess it's ok.

Thanks,
>
> 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-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>



-- 
Ioan Eugen Stan
http://ieugen.blogspot.com/

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


Re: problems upgrading data-hbase to HBase 0.92

Posted by Eric Charles <er...@apache.org>.
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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org