Modified: phoenix/site/publish/roadmap.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/roadmap.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/roadmap.html (original) +++ phoenix/site/publish/roadmap.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li ><a href="udf.html" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li ><a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li ><a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a></li> <li ><a href="rowtimestamp.html" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -327,6 +328,9 @@ <a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a> </li> <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> + <li > <a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a> </li> <li >
Modified: phoenix/site/publish/rowtimestamp.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/rowtimestamp.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/rowtimestamp.html (original) +++ phoenix/site/publish/rowtimestamp.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li ><a href="udf.html" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li ><a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li ><a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a></li> <li class="active"><a href="" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -312,6 +313,9 @@ <a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a> </li> <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> + <li > <a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a> </li> <li class="active"> Modified: phoenix/site/publish/salted.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/salted.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/salted.html (original) +++ phoenix/site/publish/salted.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li ><a href="udf.html" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li ><a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li ><a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a></li> <li ><a href="rowtimestamp.html" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -320,6 +321,9 @@ <a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a> </li> <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> + <li > <a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a> </li> <li > Modified: phoenix/site/publish/secondary_indexing.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/secondary_indexing.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/secondary_indexing.html (original) +++ phoenix/site/publish/secondary_indexing.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li ><a href="udf.html" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li class="active"><a href="" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li ><a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a></li> <li ><a href="rowtimestamp.html" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -609,6 +610,9 @@ CREATE LOCAL INDEX my_index ON my_table <a href="#" title="Secondary Indexes">Secondary Indexes</a> </li> <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> + <li > <a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a> </li> <li > Modified: phoenix/site/publish/sequences.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/sequences.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/sequences.html (original) +++ phoenix/site/publish/sequences.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li ><a href="udf.html" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li ><a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li ><a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a></li> <li ><a href="rowtimestamp.html" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -351,6 +352,9 @@ VALUES( NEXT VALUE FOR my_schema.my_sequ <a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a> </li> <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> + <li > <a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a> </li> <li > Modified: phoenix/site/publish/server.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/server.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/server.html (original) +++ phoenix/site/publish/server.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li ><a href="udf.html" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li ><a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li ><a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a></li> <li ><a href="rowtimestamp.html" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -520,6 +521,9 @@ log4j.logger.org.eclipse.jetty.server=IN <a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a> </li> <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> + <li > <a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a> </li> <li > Modified: phoenix/site/publish/skip_scan.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/skip_scan.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/skip_scan.html (original) +++ phoenix/site/publish/skip_scan.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li ><a href="udf.html" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li ><a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li ><a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a></li> <li ><a href="rowtimestamp.html" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -309,6 +310,9 @@ AND KEY2 IN (1, 2) <a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a> </li> <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> + <li > <a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a> </li> <li > Modified: phoenix/site/publish/source.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/source.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/source.html (original) +++ phoenix/site/publish/source.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li ><a href="udf.html" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li ><a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li ><a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a></li> <li ><a href="rowtimestamp.html" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -315,6 +316,9 @@ <a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a> </li> <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> + <li > <a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a> </li> <li > Modified: phoenix/site/publish/subqueries.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/subqueries.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/subqueries.html (original) +++ phoenix/site/publish/subqueries.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li ><a href="udf.html" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li ><a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li ><a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a></li> <li ><a href="rowtimestamp.html" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -453,6 +454,9 @@ ORDER BY count(*) DESC; <a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a> </li> <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> + <li > <a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a> </li> <li > Modified: phoenix/site/publish/team.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/team.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/team.html (original) +++ phoenix/site/publish/team.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li ><a href="udf.html" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li ><a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li ><a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a></li> <li ><a href="rowtimestamp.html" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -478,6 +479,9 @@ <a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a> </li> <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> + <li > <a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a> </li> <li > Modified: phoenix/site/publish/tracing.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/tracing.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/tracing.html (original) +++ phoenix/site/publish/tracing.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li ><a href="udf.html" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li ><a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li ><a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a></li> <li ><a href="rowtimestamp.html" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -491,6 +492,9 @@ Connection conn = DriverManager.getConne <a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a> </li> <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> + <li > <a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a> </li> <li > Modified: phoenix/site/publish/transactions.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/transactions.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/transactions.html (original) +++ phoenix/site/publish/transactions.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li ><a href="udf.html" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li ><a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li ><a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a></li> <li ><a href="rowtimestamp.html" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -388,6 +389,9 @@ DELETE FROM my_other_table WHERE k=2; <a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a> </li> <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> + <li > <a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a> </li> <li > Modified: phoenix/site/publish/tuning.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/tuning.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/tuning.html (original) +++ phoenix/site/publish/tuning.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li ><a href="udf.html" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li ><a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li ><a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a></li> <li ><a href="rowtimestamp.html" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -408,16 +409,6 @@ <td style="text-align: left;"> Determines whether or not transactions are enabled in Phoenix. A table may not be declared as transactional if transactions are disabled. Default is false. This is a client side parameter. Available starting from Phoenix 4.7.</td> <td>false</td> </tr> - <tr class="b"> - <td><small>phoenix.schema.isNamespaceMappingEnabled</small></td> - <td style="text-align: left;">If it is enabled, then the tables created with schema will be mapped to namespace.This needs to be set at client and server both. if set once, should not be rollback. Old client will not work after this property is enabled.</td> - <td>false</td> - </tr> - <tr class="a"> - <td><small>phoenix.schema.mapSystemTablesToNamespace</small></td> - <td style="text-align: left;">Enabling this property will take affect when phoenix.connection.isNamespaceMappingEnabled is also set to true. If it is enabled, SYSTEM tables if present will automatically migrated to SYSTEM namespace. And If set to false , then system tables will be created in default namespace only. This needs to be set at client and server both.</td> - <td>true</td> - </tr> </tbody> </table> <br /> @@ -567,6 +558,9 @@ <a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a> </li> <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> + <li > <a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a> </li> <li > Modified: phoenix/site/publish/udf.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/udf.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/udf.html (original) +++ phoenix/site/publish/udf.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li class="active"><a href="" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li ><a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li ><a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a></li> <li ><a href="rowtimestamp.html" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -441,6 +442,9 @@ Connection conn = DriverManager.getConne <a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a> </li> <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> + <li > <a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a> </li> <li > Modified: phoenix/site/publish/update_statistics.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/update_statistics.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/update_statistics.html (original) +++ phoenix/site/publish/update_statistics.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li ><a href="udf.html" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li ><a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li class="active"><a href="" title="Statistics Collection">Statistics Collection</a></li> <li ><a href="rowtimestamp.html" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -356,6 +357,9 @@ <li > <a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a> </li> + <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> <li class="active"> <a href="#" title="Statistics Collection">Statistics Collection</a> </li> Modified: phoenix/site/publish/upgrading.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/upgrading.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/upgrading.html (original) +++ phoenix/site/publish/upgrading.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li ><a href="udf.html" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li ><a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li ><a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a></li> <li ><a href="rowtimestamp.html" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -323,6 +324,9 @@ <a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a> </li> <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> + <li > <a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a> </li> <li > Modified: phoenix/site/publish/views.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/views.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/views.html (original) +++ phoenix/site/publish/views.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li ><a href="udf.html" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li ><a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li ><a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a></li> <li ><a href="rowtimestamp.html" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -352,6 +353,9 @@ VALUES('John Doe', CURRENT_DATE(), NEXT <a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a> </li> <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> + <li > <a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a> </li> <li > Modified: phoenix/site/publish/who_is_using.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/who_is_using.html?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/publish/who_is_using.html (original) +++ phoenix/site/publish/who_is_using.html Wed Sep 14 22:16:13 2016 @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- - Generated by Apache Maven Doxia at 2016-09-12 + Generated by Apache Maven Doxia at 2016-09-14 Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> @@ -100,6 +100,7 @@ <li ><a href="udf.html" title="User-defined Functions">User-defined Functions</a></li> <li class="divider"/> <li ><a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a></li> + <li ><a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a></li> <li ><a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a></li> <li ><a href="rowtimestamp.html" title="Row Timestamp Column">Row Timestamp Column</a></li> <li ><a href="paged.html" title="Paged Queries">Paged Queries</a></li> @@ -398,6 +399,9 @@ <a href="secondary_indexing.html" title="Secondary Indexes">Secondary Indexes</a> </li> <li > + <a href="namspace_mapping.html" title="Namespace Mapping">Namespace Mapping</a> + </li> + <li > <a href="update_statistics.html" title="Statistics Collection">Statistics Collection</a> </li> <li > Modified: phoenix/site/source/src/site/markdown/faq.md URL: http://svn.apache.org/viewvc/phoenix/site/source/src/site/markdown/faq.md?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/source/src/site/markdown/faq.md (original) +++ phoenix/site/source/src/site/markdown/faq.md Wed Sep 14 22:16:13 2016 @@ -13,7 +13,6 @@ * [Why isn't my query doing a RANGE SCAN?](#Why_isnt_my_query_doing_a_RANGE_SCAN) * [Should I pool Phoenix JDBC Connections?](#Should_I_pool_Phoenix_JDBC_Connections) * [Why does Phoenix add an empty or dummy KeyValue when doing an upsert?](#Why_empty_key_value) -* [How to move existing table with schema to namespace?](#map_table_namespace) ### I want to get started. Is there a Phoenix _Hello World_? @@ -309,15 +308,3 @@ all) records. A scan over Phoenix will i ensure that rows that only consist of the primary key (and have null for all non-key columns) will be included in a scan result. -### <a id="map_table_namespace"/>How to move existing table with schema to namespace? -**Pre-requisite:** you need 4.8 or higher version to map table to a namespae. To enable namespace mapping in configuration, see [tuning.html](tuning.html) - -For kerberized environment, run with the user who have sufficient permissiont("admin") to create a namespace. - -Table will be mapped to namespace of name "schema_name" only , Currently we don't support migrating existing table to different schema or namespace. - -Usage example: - -Move table('table_name') to namespace of name 'schema_name' - - $ bin/psql.py <zookeeper> -m <schema_name>.<table_name> Added: phoenix/site/source/src/site/markdown/namspace_mapping.md URL: http://svn.apache.org/viewvc/phoenix/site/source/src/site/markdown/namspace_mapping.md?rev=1760813&view=auto ============================================================================== --- phoenix/site/source/src/site/markdown/namspace_mapping.md (added) +++ phoenix/site/source/src/site/markdown/namspace_mapping.md Wed Sep 14 22:16:13 2016 @@ -0,0 +1,79 @@ +# Namespace Mapping + +From v4.8.0 onwards, user can enable to map it's schema to the namespace so that any table created with schema will be created in the corresponding namespace of HBase. + +Earlier, every table (with schema or without schema) was created in default namespace. + +## Configuration +Parameters to enable namespace mapping:- + +<table border="1"> + <tbody> +<tr><td><b>Property</b></td><td><b>Description</b></td><td><b>Default +</b></td></tr> +<tr><td><small>phoenix.schema.isNamespaceMappingEnabled</small></td><td style="text-align: left;">If it is enabled, then the tables created with schema will be mapped to namespace.This needs to be set at client and server both. if set once, should not be rollback. Old client will not work after this property is enabled.</td><td>false</td></tr> +<tr><td><small>phoenix.schema.mapSystemTablesToNamespace</small></td><td style="text-align: left;">Enabling this property will take affect when phoenix.connection.isNamespaceMappingEnabled is also set to true. If it is enabled, SYSTEM tables if present will automatically migrated to SYSTEM namespace. And If set to false , then system tables will be created in default namespace only. This needs to be set at client and server both.</td><td>true</td></tr> +</tbody></table> + +## Grammer Available +Following DDL statements can be used to interact with schema. + +* [CREATE SCHEMA](https://phoenix.apache.org/language/index.html#create_schema) + +* [USE SCHEMA](https://phoenix.apache.org/language/index.html#use) + +* [DROP SCHEMA](https://phoenix.apache.org/language/index.html#drop_schema) + + +##F.A.Q +* [How to migrate existing tables with schema to namespace?](#how_to_migrate_existing_tables_with_schema_to_namespace) +* [How system tables will be migrated?](#how_system_tables_will_be_migrated) +* [What permissions are required to CREATE and DROP SCHEMA?](#What_permissions_are_required_to_CREATE_and_DROP_SCHEMA) +* [How schemas are mapped for different table types?](#how_schemas_are_mapped_for_different_table_type) +* [What is namespace and benefits of mapping table to namespace?](#What_is_namespace_and_benefits_of_mapping_table_to_namespace) + +###<a id="how_to_migrate_existing_tables_with_schema_to_namespace"/> How to migrate existing tables with schema to namespace +For kerberized environment, run with the user who have sufficient permissiont("admin") to create a namespace. + +Table will be mapped to namespace of name "schema_name" only , Currently there is no support migrating existing table to different schema or namespace. + +Usage example: + +Move table('table_name') to namespace of name 'schema_name' + + $ bin/psql.py <zookeeper> -m <schema_name>.<table_name> + +###<a id="how_system_tables_will_be_migrated"/> How system tables will be migrated? +SYSTEM tables will be migrated automatically during first connection made after enabling phoenix.schema.mapSystemTablesToNamespace along with phoenix.schema.isNamespaceMappingEnabled. + +###<a id="What_permissions_are_required_to_CREATE_and_DROP_SCHEMA"/> What permissions are required to CREATE and DROP SCHEMA? +User must have "admin" permission in HBase to execute CREATE and DROP SCHEMA successfully as these commands will internally create or delete the namespace. + +Details for ACL management in HBase can be found [here](http://hbase.apache.org/book.html#hbase.accesscontrol.configuration) + +###<a id="how_schemas_are_mapped_for_different_table_type"/> How schemas are mapped for different table types? +Schema support in Phoenix is similar to the other databases. + +Below table can help you in mapping of physical table to Phoenix table:- + +DDL | Table Type | Physical Table | Description +------------ |------------ | ------------- | ------------- +CREATE TABLE S.T (ID INTEGER PRIMARY KEY) | TABLE | S:T | Table T will be created in S namespace +CREATE INDEX IDX ON S.T(ID) (ID INTEGER PRIMARY KEY) | INDEX| S:IDX| Indexes will inherit the schema and namespace from table +CREATE VIEW V SELECT * FROM S.T| VIEW with default schema| S:T| View will not inherit the schema from parent table and can have default schema as well +CREATE VIEW X.V SELECT * FROM S.T| VIEW with different schema than physical table| S:T| View will use the parent physical table only and can have different(or same) schema as well +CREATE VIEW S.V SELECT * FROM S.T| VIEW with same schema as of physical table| S:T| View will use the parent physical table only and can have different(or same) schema as well +CREATE VIEW idx on S.V| VIEW INDEX| S:_IDX_T| View indexes will also inherit the schema and map to corresponding namespace + + +###<a id="What_is_namespace_and_benefits_of_mapping_table_to_namespace"/> What is namespace and benefits of mapping table to namespace? +A namespace is a logical grouping of tables analogous to a database in relation database systems. This abstraction lays the groundwork for upcoming multi-tenancy related features: + +* Quota Management - Restrict the amount of resources (i.e. regions, tables) a namespace can consume. +* Namespace Security Administration - Provide another level of security administration for tenants. +* Region server groups - A namespace/table can be pinned onto a subset of RegionServers thus guaranteeing a course level of isolation. + +Details about Namespace Managment can be read from [here](http://hbase.apache.org/book.html#_namespace) + +## Resources +* [PHOENIX-1311] (https://issues.apache.org/jira/browse/PHOENIX-1311) : For implementation details and discussion over the namespace mapping feature. Modified: phoenix/site/source/src/site/markdown/tuning.md URL: http://svn.apache.org/viewvc/phoenix/site/source/src/site/markdown/tuning.md?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/source/src/site/markdown/tuning.md (original) +++ phoenix/site/source/src/site/markdown/tuning.md Wed Sep 14 22:16:13 2016 @@ -142,7 +142,5 @@ overridden at connection <tr><td><small>phoenix.table.default.store.nulls</small></td><td style="text-align: left;">The default value of the STORE_NULLS flag used for table creation which determines whether or not null values should be explicitly stored in HBase. Default is false. This is a client side parameter. Available starting from Phoenix 4.3.</td><td>false</td></tr> <tr><td><small>phoenix.table.istransactional.default</small></td><td style="text-align: left;">The default value of the TRANSACTIONAL flag used for table creation which determines whether or not a table is transactional . Default is false. This is a client side parameter. Available starting from Phoenix 4.7.</td><td>false</td></tr> <tr><td><small>phoenix.transactions.enabled</small></td><td style="text-align: left;"> Determines whether or not transactions are enabled in Phoenix. A table may not be declared as transactional if transactions are disabled. Default is false. This is a client side parameter. Available starting from Phoenix 4.7.</td><td>false</td></tr> -<tr><td><small>phoenix.schema.isNamespaceMappingEnabled</small></td><td style="text-align: left;">If it is enabled, then the tables created with schema will be mapped to namespace.This needs to be set at client and server both. if set once, should not be rollback. Old client will not work after this property is enabled.</td><td>false</td></tr> -<tr><td><small>phoenix.schema.mapSystemTablesToNamespace</small></td><td style="text-align: left;">Enabling this property will take affect when phoenix.connection.isNamespaceMappingEnabled is also set to true. If it is enabled, SYSTEM tables if present will automatically migrated to SYSTEM namespace. And If set to false , then system tables will be created in default namespace only. This needs to be set at client and server both.</td><td>true</td></tr> </tbody></table> <br /> Modified: phoenix/site/source/src/site/site.xml URL: http://svn.apache.org/viewvc/phoenix/site/source/src/site/site.xml?rev=1760813&r1=1760812&r2=1760813&view=diff ============================================================================== --- phoenix/site/source/src/site/site.xml (original) +++ phoenix/site/source/src/site/site.xml Wed Sep 14 22:16:13 2016 @@ -99,6 +99,7 @@ <item href="udf.html" name="User-defined Functions"/> <item href="http:divider" name=""/> <item href="secondary_indexing.html" name="Secondary Indexes"/> + <item href="namspace_mapping.html" name="Namespace Mapping"/> <item href="update_statistics.html" name="Statistics Collection"/> <item href="rowtimestamp.html" name="Row Timestamp Column"/> <item href="paged.html" name="Paged Queries"/>
