Details
Description
HBase is an open source implementation of the BigTable - Google's column store. It's an Apache project and is the integral part of the hadoop family of projects.
(http://hadoop.apache.org/hbase/)
Hbase is gaining popularity very fast. Like we have DataSources, Connection Pools and Templates for other persistence technologies, we have written similar classes for Hbase.
HBaseConfigurationFactoryBean
HBaseCallback
HBaseTemplate
(I am attaching the files with this issue. I can create patch if required.)
Here is how one would configure HBase data access beans in their applicationContext-hbase.xml
<bean id="hbaseTemplate" class="com.gumgum.hbase.HBaseTemplate"> <constructor-arg ref="hTablePool"/> </bean> <bean id="hbaseConfiguration" class="com.gumgum.hbase.HBaseConfigurationFactoryBean"> <property name="hbaseMaster" value="${hbase.master}"/> </bean> <bean id="hTablePool" class="org.apache.hadoop.hbase.client.HTablePool"> <constructor-arg ref="hbaseConfiguration"/> <constructor-arg value="${hbase.htable.pool.size}"/> </bean>
It will be nice if you could include these classes in Spring-DA so that all the spring community using hbase will be benefited.
These classes are based on Hbase 0.20 which is about to release soon.