[
https://issues.apache.org/jira/browse/PHOENIX-3817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16622831#comment-16622831
]
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/12940521/PHOENIX-3817-final2.patch
against master branch at commit 91f085a902357b0a589b6367fb9c5f40b9781c8f.
ATTACHMENT ID: 12940521
{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:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit 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:
./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.ConcurrentMutationsIT
Test results:
https://builds.apache.org/job/PreCommit-PHOENIX-Build/2051//testReport/
Console output:
https://builds.apache.org/job/PreCommit-PHOENIX-Build/2051//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-final2.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)