You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/09/15 02:16:20 UTC

[jira] [Commented] (PHOENIX-3280) Automatic attempt to rebuild all disabled index

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

Hadoop QA commented on PHOENIX-3280:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12828565/PHOENIX-3280.patch
  against master branch at commit 2c2b552cd7c611c63677b0be075065504d579469.
  ATTACHMENT ID: 12828565

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

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

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

    {color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 35 warning messages.

    {color:red}-1 release audit{color}.  The applied patch generated 1 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:
    +                    if ((dataTable == null || dataTable.length == 0) || (indexState == null || indexState.length == 0)) {
+                    if (Bytes.compareTo(PIndexState.DISABLE.getSerializedBytes(), indexState) == 0) {
+                    List<PTable> indexesToPartiallyRebuild = Lists.newArrayListWithExpectedSize(dataPTable.getIndexes()
+                    List<PTable> oldIndexesToPartiallyRebuild = dataTableToIndexesMap.put(dataPTable,
+                            QueryServicesOptions.DEFAULT_INDEX_FAILURE_HANDLING_REBUILD_OVERLAP_TIME);
+                            LOG.info("Starting to build " + dataPTable + " indexes " + indexesToPartiallyRebuild
+                            try (HTableInterface dataHTable = conn.getQueryServices().getTable(physicalTableName)) {
+                                try (ResultScanner dataTableScanner = dataHTable.getScanner(dataTableScan)) {
+                                    List<Mutation> mutations = Lists.newArrayListWithExpectedSize(batchSize);
+                                    ImmutableBytesWritable indexMetaDataPtr = new ImmutableBytesWritable(

     {color:red}-1 core tests{color}.  The patch failed these unit tests:
     ./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.rpc.UpdateCacheWithScnIT

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

This message is automatically generated.

> Automatic attempt to rebuild all disabled index
> -----------------------------------------------
>
>                 Key: PHOENIX-3280
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3280
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: James Taylor
>             Fix For: 4.9.0, 4.8.1
>
>         Attachments: PHOENIX-3280.patch
>
>
> Instead of only attempting to rebuild the first disabled index, we should attempt to build each of them. Otherwise, a failure of the first one would block the building of the others. This is follow up work for PHOENIX-3237 and further improvements are identified in PHOENIX-3277.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)