Author: jamestaylor
Date: Fri Jan 23 01:18:19 2015
New Revision: 1654105
URL: http://svn.apache.org/r1654105
Log:
Update local index docs (Rajeshbabu)
Modified:
phoenix/site/publish/secondary_indexing.html
phoenix/site/source/src/site/markdown/secondary_indexing.md
Modified: phoenix/site/publish/secondary_indexing.html
URL:
http://svn.apache.org/viewvc/phoenix/site/publish/secondary_indexing.html?rev=1654105&r1=1654104&r2=1654105&view=diff
==============================================================================
--- phoenix/site/publish/secondary_indexing.html (original)
+++ phoenix/site/publish/secondary_indexing.html Fri Jan 23 01:18:19 2015
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<!--
- Generated by Apache Maven Doxia at 2015-01-20
+ Generated by Apache Maven Doxia at 2015-01-22
Rendered using Reflow Maven Skin 1.1.0
(http://andriusvelykis.github.io/reflow-maven-skin)
-->
<html xml:lang="en" lang="en">
@@ -259,6 +259,14 @@
</property>
</pre>
</div>
+ <p>To support local index regions merge on data regions merge you will need
to add the following parameter to <tt>hbase-site.xml</tt> in all the region
servers and restart. (Itâs applicable for Phoenix 4.3+ versions)</p>
+ <div class="source">
+ <pre><property>
+ <name>hbase.coprocessor.regionserver.classes</name>
+
<value>org.apache.hadoop.hbase.regionserver.LocalIndexMerger</value>
+</property>
+</pre>
+ </div>
</div>
<div class="section">
<h2 id="Tuning">Tuning</h2>
Modified: phoenix/site/source/src/site/markdown/secondary_indexing.md
URL:
http://svn.apache.org/viewvc/phoenix/site/source/src/site/markdown/secondary_indexing.md?rev=1654105&r1=1654104&r2=1654105&view=diff
==============================================================================
--- phoenix/site/source/src/site/markdown/secondary_indexing.md (original)
+++ phoenix/site/source/src/site/markdown/secondary_indexing.md Fri Jan 23
01:18:19 2015
@@ -132,6 +132,15 @@ You will need to add the following param
</property>
```
+To support local index regions merge on data regions merge you will need to
add the following parameter to `hbase-site.xml` in all the region servers and
restart. (Itâs applicable for Phoenix 4.3+ versions)
+
+```
+<property>
+ <name>hbase.coprocessor.regionserver.classes</name>
+ <value>org.apache.hadoop.hbase.regionserver.LocalIndexMerger</value>
+</property>
+```
+
## Tuning
Out the box, indexing is pretty fast. However, to optimize for your particular
environment and workload, there are several properties you can tune.