Hi,

There are two ways one can add secondary indexing to HBase.

One is from $HBASE_HOME/contrib/transactional/ *.jar and the other is from 
$HBASE_HOME/contrib/indexed/*.jar

In setting up transactional, you need to following in hbase-site.xml:
<!-- Indexing Setup -->
  <property>
    <name>hbase.regionserver.class</name>
    <value>org.apache.hadoop.hbase.ipc.IndexedRegionInterface</value>
    <description> Required for secondary indexing. </description>
  </property>
  <property>
    <name>hbase.regionserver.impl</name>
    
<value>org.apache.hadoop.hbase.regionserver.tableindexed.IndexedRegionServer</value>
    <description> Required for secondary indexing. </description>
  </property>

and for Indexing we set the following:



<property>

 
<name>hbase.hregion.impl</name>

 
<value>org.apache.hadoop.hbase.regionserver.IdxRegion</value>

</property>
So it looks like that they can co-exist.Is this not the case?
Thx
-Mike



                                          
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/201469230/direct/01/

Reply via email to