James, The cloudera labs version is essentially Phoenix 4.3 with some CDH compatiblity fixes, so you should be able to try out the settings.
If you have further cdh/cloudera labs specific questions, please feel free to ask at the cloudera lists[1] Thanks, Jon [1] https://community.cloudera.com/t5/Cloudera-Labs/bd-p/ClouderaLabs On Fri, Aug 7, 2015 at 4:32 AM, James Heather <[email protected]> wrote: > 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 > -- // Jonathan Hsieh (shay) // HBase Tech Lead, Software Engineer, Cloudera // [email protected] // @jmhsieh
