[
https://issues.apache.org/jira/browse/PHOENIX-3817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16054093#comment-16054093
]
ASF GitHub Bot commented on PHOENIX-3817:
-----------------------------------------
GitHub user aaraujo opened a pull request:
https://github.com/apache/phoenix/pull/263
PHOENIX-3817 Verify replication tool
MapReduce tool that compares data accross tables. SQL conditions may be
used to optionally compare only a subset of the tables.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aaraujo/phoenix PHOENIX-3817
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/phoenix/pull/263.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 #263
----
commit 40d971e839a0e920d3a78d73e5894d40ae10046c
Author: Alex Araujo <[email protected]>
Date: 2017-06-13T00:33:31Z
PHOENIX-3817 Verify replication tool
MapReduce tool that compares data accross tables. SQL conditions may be
used to optionally compare only a subset of the tables.
----
> VerifyReplication using SQL
> ---------------------------
>
> Key: PHOENIX-3817
> URL: https://issues.apache.org/jira/browse/PHOENIX-3817
> Project: Phoenix
> Issue Type: Improvement
> Reporter: Alex Araujo
> Assignee: Alex Araujo
> Priority: Minor
> Fix For: 4.12.0
>
> Attachments: PHOENIX-3817.v1.patch, PHOENIX-3817.v2.patch,
> PHOENIX-3817.v3.patch
>
>
> Certain use cases may copy or replicate a subset of a table to a different
> table or cluster. For example, application topologies may map data for
> specific tenants to different peer clusters.
> It would be useful to have a Phoenix VerifyReplication tool that accepts an
> SQL query, a target table, and an optional target cluster. The tool would
> compare data returned by the query on the different tables and update various
> result counters (similar to HBase's VerifyReplication).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)