Hi James, IMO, for using Phoenix, i would give preference to instructions from Phoenix website. Those setting look like they are used to maintain local index.
Thanks, Anil Gupta 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 > -- Thanks & Regards, Anil Gupta
