Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.0.0.M2
    • Component/s: HBase
    • Labels:
      None

      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.

        Attachments

        1. TableCallback.java
          0.6 kB
        2. TableCallback.java
          0.6 kB
        3. RowCallback.java
          0.6 kB
        4. HBaseTemplate.java
          1 kB
        5. HBaseTemplate.java
          2 kB
        6. HBaseTemplate.java
          2 kB
        7. HBaseConfigurationFactoryBean.java
          1 kB
        8. HBaseConfigurationFactoryBean.java
          2 kB
        9. HBaseConfigurationFactoryBean.java
          2 kB
        10. HBaseCallback.java
          0.6 kB

          Activity

            People

            • Assignee:
              costin Costin Leau
              Reporter:
              vpuranik Vaibhav Puranik
            • Votes:
              13 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: