[
https://issues.apache.org/jira/browse/PHOENIX-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17065235#comment-17065235
]
Hadoop QA commented on PHOENIX-5765:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12997499/PHOENIX-5765.4.x-HBase-1.5.v1.patch
against 4.x-HBase-1.5 branch at commit
3c0002c51d9ac047816f3ad0cfbb5188c2fafa9a.
ATTACHMENT ID: 12997499
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 23 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 long verifyIndexTable(String tableName, String indexName,
Connection conn) throws Exception {
+ // Now we rebuild the entire index table and expect that it is still
good after the full rebuild
+ + "(k1 INTEGER NOT NULL, k2 INTEGER NOT NULL, a.v1 INTEGER,
b.v2 INTEGER, c.v3 INTEGER, d.v4 INTEGER," +
+ conn.createStatement().execute("CREATE INDEX " + indexName + " ON " +
tableName + "(v1) INCLUDE(v2, v3)");
+ + (RAND.nextBoolean() ? null :
(RAND.nextInt() % nIndexValues)) + ", "
+ @Ignore ("It is not possible to assign the same timestamp two separately
committed mutations in the current model\n" +
+ " except when the server time goes backward. In that case, the
behavior is not deterministic")
+ // Since all the rows are in the index table, running the index
tool with the "-v BEFORE" option should not
+ populateTable(dataTableName); // with two rows ('a', 'ab', 'abc',
'abcd') and ('b', 'bc', 'bcd', 'bcde')
+ populateTable(dataTableName); // with two rows ('a', 'ab', 'abc',
'abcd') and ('b', 'bc', 'bcd', 'bcde')
{color:green}+1 core tests{color}. The patch passed unit tests in .
Test results:
https://builds.apache.org/job/PreCommit-PHOENIX-Build/3636//testReport/
Console output:
https://builds.apache.org/job/PreCommit-PHOENIX-Build/3636//console
This message is automatically generated.
> Add unit tests for prepareIndexMutationsForRebuild() of
> IndexRebuildRegionScanner
> ---------------------------------------------------------------------------------
>
> Key: PHOENIX-5765
> URL: https://issues.apache.org/jira/browse/PHOENIX-5765
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Swaroopa Kadam
> Assignee: Weiming Wang
> Priority: Major
> Attachments: PHOENIX-5765.4.x-HBase-1.5.v1.patch
>
> Time Spent: 3h
> Remaining Estimate: 0h
>
> Unit-tests for prepareIndexMutationsForRebuild
--
This message was sent by Atlassian Jira
(v8.3.4#803005)