phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Heather <james.heat...@mendeley.com>
Subject hbase-site.xml on vanilla vs cloudera labs
Date Fri, 07 Aug 2015 11:32:44 GMT
I'm a bit unclear as to what changes need to be made to hbase-site.xml 
when I'm running Phoenix on CDH5.

The Phoenix site <http://phoenix.apache.org/secondary_indexing.html> 
tells me that I need to add this:

<property>
   <name>hbase.regionserver.wal.codec</name>
   <value>org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec</value>
</property>


but also this to sort out local index region co-location:

<property>
   <name>hbase.master.loadbalancer.class</name>
   <value>org.apache.phoenix.hbase.index.balancer.IndexLoadBalancer</value>
</property>
<property>
   <name>hbase.coprocessor.master.classes</name>
   <value>org.apache.phoenix.hbase.index.master.IndexMasterObserver</value>
</property>


and this to support local index regions merge on data regions merge:

<property>
   <name>hbase.coprocessor.regionserver.classes</name>
   <value>org.apache.hadoop.hbase.regionserver.LocalIndexMerger</value>
</property>


(There's one more bit mentioned, but only for Phoenix 4.3.1+, and 
Cloudera Labs uses 4.3.0 at the moment.)

The Cloudera Labs instructions 
<http://www.cloudera.com/content/cloudera/en/developers/home/cloudera-labs/apache-phoenix/install-apache-phoenix-cloudera-labs.pdf>

also mention the first part, but say nothing about the second and third 
bits.

Are they needed? Should I include them or not?

James

Mime
View raw message