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