You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by James Heather <ja...@mendeley.com> on 2015/08/07 13:32:44 UTC
hbase-site.xml on vanilla vs cloudera labs
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
Re: hbase-site.xml on vanilla vs cloudera labs
Posted by Jonathan Hsieh <jo...@cloudera.com>.
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 <ja...@mendeley.com>
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
// jon@cloudera.com // @jmhsieh
Re: hbase-site.xml on vanilla vs cloudera labs
Posted by anil gupta <an...@gmail.com>.
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 <ja...@mendeley.com>
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