hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Segel <michael_se...@hotmail.com>
Subject Are transactional indexes and indexed indexes incompatible?
Date Mon, 08 Mar 2010 20:13:04 GMT

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/
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message