I will add it as soon as I fix upload the updated classes. I had to update the spring classes to remove hbase.master and replace it by hbase.zookeeper.quorum.
It will be great if you can tell me which properties do we need to configure in client. I can accordingly change code and spring configuration. Regards, Vaibhav Puranik, Gumgum On Wed, Jul 22, 2009 at 3:43 PM, stack <[email protected]> wrote: > 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 > > >
