Excellent.  Please add a link here:
http://wiki.apache.org/hadoop/SupportingProjects.
St.Ack

On Wed, Jul 22, 2009 at 10:29 AM, Vaibhav Puranik <[email protected]>wrote:

> Hi Everybody,
>
> We have created Spring like classes - *HBaseTemplate, HBaseCallback and
> HBaseConfigurationFactoryBean* for all the *Spring Framework* fans.
>
> This will make it easy to use HBase with Spring Framework. *You can
> download
> the classes from following Spring Framework issue:*
> http://jira.springframework.org/browse/SPR-5950
>
> Here is how you would configure your spring beans:
>
>    <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>
>
>
> Please note that hbase.master and hbase.htable.pool.size are the
> configurable variables.
>
> These classes are built on the top of the new HTablePool written by Ken
> Weiner and Jonathan Gray.
>
> Regards,
> Vaibhav Puranik,
> Gumgum
>

Reply via email to