GitHub user jfernandosf opened a pull request:
https://github.com/apache/phoenix/pull/105
PHOENIX-1791. Adding ability for Pherf Scenarios to write to a multi-tenant
view.
Small change to Pherf to enable Pherf to allow Scenario declarations to
specify multi-tenant views for the tableName attribute and then load data into
the tenant specific view. This change is to add the tenantId attribute to the
scenario XML. If a view is specified in the tableName and a tenantId attribute
is specified Pherf will use a tenant specific connection to write to the view.
In the code we pass this tenantId when we get a connection. If it is not
specified null is returned and therefore Pherf gets a standard connection when
working with that Scenario. If it is specified then Pherf gets a multi-tenant
connection for that scenario and then a multi-tenant view can be specified as
value for the tableName attribute for the scenario.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jfernandosf/phoenix PHOENIX-1791
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/phoenix/pull/105.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #105
----
commit e97171df9acbc06487c2a88af03e1ce22dcf9b38
Author: Jan <[email protected]>
Date: 2015-08-06T18:12:52Z
PHOENIX-1791. Adding ability for Pherf Write Workloads to write to a
multi-tenant view.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---