[ 
https://issues.apache.org/jira/browse/PHOENIX-3817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16590578#comment-16590578
 ] 

Hadoop QA commented on PHOENIX-3817:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  
http://issues.apache.org/jira/secure/attachment/12936857/PHOENIX-3817-final.patch
  against master branch at commit 5947b6ade1936b72230e00f70e4b050734ab4833.
  ATTACHMENT ID: 12936857

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:green}+1 tests included{color}.  The patch appears to include 6 new 
or modified tests.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:red}-1 release audit{color}.  The applied patch generated 2 release 
audit warnings (more than the master's current 0 warnings).

    {color:red}-1 lineLengths{color}.  The patch introduces the following lines 
longer than 100:
    +    private void verify(String sqlConditions, long ts, int good, int bad, 
int onlyInSource, int onlyInTarget,
+                    
sourceSplitPoints.add(ByteUtil.concat(Bytes.toBytes(tenantId), 
QueryConstants.SEPARATOR_BYTE_ARRAY,
+                    
targetSplitPoints.add(ByteUtil.concat(Bytes.toBytes(tenantId), 
QueryConstants.SEPARATOR_BYTE_ARRAY,
+                conn.prepareStatement(String.format("DELETE FROM %s WHERE 
TENANT_ID = '%s' LIMIT %d",
+    public void  initialize(InputSplit split, TaskAttemptContext context) 
throws IOException, InterruptedException {
+            this.resultIterator = 
PhoenixMapReduceUtil.initializeIterator(this.configuration, scans, queryPlan);
+            this.resultSet = 
PhoenixMapReduceUtil.initializeResultSet(this.resultIterator, this.queryPlan);
+                    "Timestamp in millis used to compare the two tables.  
Defaults to current time minus 60 seconds");
+            extends Mapper<NullWritable, VerifyReplicationSourceWritable, 
NullWritable, NullWritable> {
+                targetQueryPlan = 
PhoenixMapReduceUtil.getQueryPlan(context.getConfiguration(), true);

     {color:red}-1 core tests{color}.  The patch failed these unit tests:
                       org.apache.phoenix.jdbc.SecureUserConnectionsTest

Test results: 
https://builds.apache.org/job/PreCommit-PHOENIX-Build/2003//testReport/
Release audit warnings: 
https://builds.apache.org/job/PreCommit-PHOENIX-Build/2003//artifact/patchprocess/patchReleaseAuditWarnings.txt
Console output: 
https://builds.apache.org/job/PreCommit-PHOENIX-Build/2003//console

This message is automatically generated.

> VerifyReplication using SQL
> ---------------------------
>
>                 Key: PHOENIX-3817
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3817
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Alex Araujo
>            Assignee: Akshita Malhotra
>            Priority: Minor
>             Fix For: 4.15.0
>
>         Attachments: PHOENIX-3817-final.patch, PHOENIX-3817.v1.patch, 
> PHOENIX-3817.v2.patch, PHOENIX-3817.v3.patch, PHOENIX-3817.v4.patch, 
> PHOENIX-3817.v5.patch, PHOENIX-3817.v6.patch, PHOENIX-3817.v7.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
(v7.6.3#76005)

Reply via email to