Skip to content

PHOENIX-5998 Paged server side ungrouped aggregate operations - #936

Closed
kadirozde wants to merge 6 commits into
apache:4.xfrom
kadirozde:5998
Closed

PHOENIX-5998 Paged server side ungrouped aggregate operations#936
kadirozde wants to merge 6 commits into
apache:4.xfrom
kadirozde:5998

Conversation

@kadirozde

Copy link
Copy Markdown
Contributor

No description provided.

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 8sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall11m 39s4.x passed
+1 💚compile1m 1s4.x passed
+1 💚checkstyle1m 1s4.x passed
+1 💚javadoc0m 47s4.x passed
+0 🆗spotbugs3m 6sphoenix-core in 4.x has 954 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall6m 21sthe patch passed
+1 💚compile1m 1sthe patch passed
+1 💚javac1m 1sthe patch passed
-1 ❌checkstyle1m 5sphoenix-core: The patch generated 303 new + 1695 unchanged - 208 fixed = 1998 total (was 1903)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 45sthe patch passed
-1 ❌spotbugs3m 25sphoenix-core generated 1 new + 953 unchanged - 1 fixed = 954 total (was 954)
_ Other Tests _
-1 ❌unit185m 54sphoenix-core in the patch failed.
+1 💚asflicense0m 31sThe patch does not generate ASF License warnings.
220m 17s
ReasonTests
FindBugsmodule:phoenix-core
Switch statement found in org.apache.phoenix.coprocessor.UngroupedAggregateRegionScanner.descRowKeyOrderUpgrade(List, ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:[lines 391-412]
Failed junit testsphoenix.end2end.TenantSpecificViewIndexSaltedIT
phoenix.end2end.SpillableGroupByIT
phoenix.execute.UpsertSelectOverlappingBatchesIT
phoenix.end2end.UpsertSelectIT
phoenix.end2end.StringToArrayFunctionIT
phoenix.end2end.index.MutableIndexSplitForwardScanIT
phoenix.end2end.join.HashJoinPersistentCacheIT
phoenix.end2end.QueryDatabaseMetaDataIT
phoenix.end2end.RowTimestampIT
phoenix.end2end.ArithmeticQueryIT
phoenix.end2end.InListIT
phoenix.end2end.index.InvalidIndexStateClientSideIT
phoenix.end2end.OrphanViewToolIT
phoenix.end2end.BackwardCompatibilityIT
phoenix.end2end.index.LocalImmutableNonTxIndexIT
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#936
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux b1c316e10591 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / 605656c
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/2/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/2/artifact/yetus-general-check/output/new-spotbugs-phoenix-core.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/2/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/2/testReport/
Max. process+thread count6113 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/2/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

value));
if (result == null) {
if (hasRows) {
return null;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't match with the above comment of always returning rows.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not really change the behavior here and thus I did not change the comment. If there is no row in the table, we should still get a result object with the zero row count. This is all what the comment tries to communicate.

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 7sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall11m 51s4.x passed
+1 💚compile0m 59s4.x passed
+1 💚checkstyle1m 3s4.x passed
+1 💚javadoc0m 47s4.x passed
+0 🆗spotbugs3m 8sphoenix-core in 4.x has 954 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall6m 19sthe patch passed
+1 💚compile0m 59sthe patch passed
+1 💚javac0m 59sthe patch passed
-1 ❌checkstyle1m 5sphoenix-core: The patch generated 301 new + 1807 unchanged - 208 fixed = 2108 total (was 2015)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 46sthe patch passed
-1 ❌spotbugs3m 21sphoenix-core generated 1 new + 953 unchanged - 1 fixed = 954 total (was 954)
_ Other Tests _
-1 ❌unit186m 34sphoenix-core in the patch failed.
+1 💚asflicense0m 30sThe patch does not generate ASF License warnings.
221m 9s
ReasonTests
FindBugsmodule:phoenix-core
Switch statement found in org.apache.phoenix.coprocessor.UngroupedAggregateRegionScanner.descRowKeyOrderUpgrade(List, ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:[lines 380-401]
Failed junit testsphoenix.end2end.SpillableGroupByIT
phoenix.execute.UpsertSelectOverlappingBatchesIT
phoenix.util.IndexScrutinyIT
phoenix.end2end.UpsertSelectIT
phoenix.end2end.StoreNullsIT
phoenix.end2end.join.HashJoinPersistentCacheIT
TEST-[RangeScanIT_2]
phoenix.end2end.ArithmeticQueryIT
phoenix.end2end.index.GlobalMutableTxIndexIT
TEST-[QueryIT_2]
phoenix.end2end.PropertiesInSyncIT
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#936
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux 11a56c546ccb 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / 605656c
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/3/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/3/artifact/yetus-general-check/output/new-spotbugs-phoenix-core.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/3/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/3/testReport/
Max. process+thread count6167 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/3/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec6m 44sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall11m 30s4.x passed
+1 💚compile1m 0s4.x passed
+1 💚checkstyle1m 2s4.x passed
+1 💚javadoc0m 46s4.x passed
+0 🆗spotbugs3m 12sphoenix-core in 4.x has 954 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall6m 8sthe patch passed
+1 💚compile0m 58sthe patch passed
+1 💚javac0m 58sthe patch passed
-1 ❌checkstyle1m 5sphoenix-core: The patch generated 314 new + 1796 unchanged - 219 fixed = 2110 total (was 2015)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 46sthe patch passed
-1 ❌spotbugs3m 21sphoenix-core generated 1 new + 953 unchanged - 1 fixed = 954 total (was 954)
_ Other Tests _
-1 ❌unit184m 43sphoenix-core in the patch failed.
+1 💚asflicense0m 36sThe patch does not generate ASF License warnings.
224m 34s
ReasonTests
FindBugsmodule:phoenix-core
Switch statement found in org.apache.phoenix.coprocessor.UngroupedAggregateRegionScanner.descRowKeyOrderUpgrade(List, ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:[lines 380-401]
Failed junit testsphoenix.end2end.index.PartialIndexRebuilderIT
phoenix.end2end.SpillableGroupByIT
phoenix.end2end.QueryMoreIT
TEST-[IntArithmeticIT_2]
phoenix.end2end.UpsertSelectIT
phoenix.end2end.index.IndexWithTableSchemaChangeIT
phoenix.end2end.QueryDatabaseMetaDataIT
phoenix.end2end.index.MutableIndexIT
phoenix.end2end.ArithmeticQueryIT
phoenix.end2end.DerivedTableIT
TEST-[GroupByIT_2]
phoenix.end2end.OrphanViewToolIT
phoenix.end2end.QueryLoggerIT
phoenix.end2end.MetaDataEndpointImplIT
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#936
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux 5cec32287835 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / 135692c
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/4/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/4/artifact/yetus-general-check/output/new-spotbugs-phoenix-core.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/4/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/4/testReport/
Max. process+thread count4730 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/4/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec6m 31sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall11m 19s4.x passed
+1 💚compile0m 57s4.x passed
+1 💚checkstyle1m 20s4.x passed
+1 💚javadoc0m 43s4.x passed
+0 🆗spotbugs2m 54sphoenix-core in 4.x has 954 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall5m 18sthe patch passed
+1 💚compile0m 56sthe patch passed
+1 💚javac0m 56sthe patch passed
-1 ❌checkstyle1m 22sphoenix-core: The patch generated 314 new + 1796 unchanged - 219 fixed = 2110 total (was 2015)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 42sthe patch passed
-1 ❌spotbugs3m 7sphoenix-core generated 1 new + 953 unchanged - 1 fixed = 954 total (was 954)
_ Other Tests _
-1 ❌unit188m 39sphoenix-core in the patch failed.
+1 💚asflicense0m 35sThe patch does not generate ASF License warnings.
227m 9s
ReasonTests
FindBugsmodule:phoenix-core
Switch statement found in org.apache.phoenix.coprocessor.UngroupedAggregateRegionScanner.descRowKeyOrderUpgrade(List, ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:[lines 382-403]
Failed junit testsphoenix.end2end.SequencePointInTimeIT
phoenix.end2end.IndexToolForNonTxGlobalIndexIT
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/5/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#936
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux 3e4465cd4a6b 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / 135692c
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/5/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/5/artifact/yetus-general-check/output/new-spotbugs-phoenix-core.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/5/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/5/testReport/
Max. process+thread count6239 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/5/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@kadirozde

Copy link
Copy Markdown
ContributorAuthor

@ChinmaySKulkarni, @gjacoby126, or anyone else who wants to review this PR, if you do not have any questions or comments, can I get your approval? Thanks

@gjacoby126

Copy link
Copy Markdown
Contributor

@kadirozde - UpsertSelectIT seems to have crashed in the last test run. (And timeouts for SequencePointInTimeIT and IndexToolForNonTxGlobalIndexIT). Have these passed elsewhere?

@kadirozde

Copy link
Copy Markdown
ContributorAuthor

@kadirozde - UpsertSelectIT seems to have crashed in the last test run. (And timeouts for SequencePointInTimeIT and IndexToolForNonTxGlobalIndexIT). Have these passed elsewhere?

Please check the failures, they are due to minicluster setup and operation timeout. They pass for me locally.

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 4sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall11m 0s4.x passed
+1 💚compile0m 55s4.x passed
+1 💚checkstyle1m 19s4.x passed
+1 💚javadoc0m 44s4.x passed
+0 🆗spotbugs2m 55sphoenix-core in 4.x has 953 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall5m 14sthe patch passed
+1 💚compile0m 55sthe patch passed
+1 💚javac0m 55sthe patch passed
-1 ❌checkstyle1m 15sphoenix-core: The patch generated 314 new + 1796 unchanged - 219 fixed = 2110 total (was 2015)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 42sthe patch passed
-1 ❌spotbugs3m 5sphoenix-core generated 1 new + 952 unchanged - 1 fixed = 953 total (was 953)
_ Other Tests _
-1 ❌unit184m 40sphoenix-core in the patch failed.
+1 💚asflicense0m 36sThe patch does not generate ASF License warnings.
217m 14s
ReasonTests
FindBugsmodule:phoenix-core
Switch statement found in org.apache.phoenix.coprocessor.UngroupedAggregateRegionScanner.descRowKeyOrderUpgrade(List, ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:[lines 382-403]
Failed junit testsphoenix.end2end.UpsertSelectIT
phoenix.end2end.AbsFunctionEnd2EndIT
phoenix.end2end.DropIndexedColsIT
phoenix.end2end.OrphanViewToolIT
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/6/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#936
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux 6024265b5617 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / 1872f5f
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/6/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/6/artifact/yetus-general-check/output/new-spotbugs-phoenix-core.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/6/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/6/testReport/
Max. process+thread count6277 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/6/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@ChinmaySKulkarni

ChinmaySKulkarni commented Oct 27, 2020

Copy link
Copy Markdown
Contributor

@kadirozde The changes are substantial and I will need some heads-down time to review them. If it is urgent, please feel free to rely on other's reviews and don't wait for me. I plan on taking a look in detail within the next couple of days.

@kadirozde

Copy link
Copy Markdown
ContributorAuthor

@kadirozde The changes are substantial and I will need some heads-down time to review them. If it is urgent, please feel free to rely on other's reviews and don't wait for me. I plan on taking a look in detail within the next couple of days.

No, it is not urgent. I was going to start working on PHOENIX-6207 and there is some dependency between them and so I wanted to push this before starting the other. But it is okay and I do not have to wait for this PR to be checked in. Please take your time.

Yes, the changes are substantial but mostly mechanic. The core of the change is that instead of scanning the entire table region in the postScannerOpen hook and returning the result of the aggregate operation for the entire table region in one result iteration, this PR just returns a region scanner (i.e., an new scanner called UngroupedAggregateRegionScanner) in the postScannerOpen hook for the UngroupedAggregateRegionObserver coproc, and then applies the aggregate operation on a chunk (i.e, page) of a table region in each result iteration. This means the client needs to do many iterations in order to process a table region and aggregate the results of these pages on the client side. Please note that previously, the client needed to aggregate the results of server side aggregations, one for each table region (not for each table region page). Hope this helps.

@ChinmaySKulkarniChinmaySKulkarni left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kadirozde overall looks like a great improvement. I have added a few comments. Some questions:

  1. Is it more beneficial to have paging based on row size rather than number of rows, since each row can be arbitrarily large?

  2. Server-side pagination will help reduce the chance of the race conditions mentioned in the Jira description, but does not aim at eliminating them, correct?

  3. Though this is aimed at such race conditions related to mutations (server-side UPSERT SELECT/DELETE), it seems like it will also affect the normal read path for non-Group_By aggregate queries. Is there any negative effect/extra slowness during reads due to this pagination, and if yes, do we want to make sure that changes only affect the write paths?

Let's also please add some tests for this.

Comment threadphoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java Outdated
@kadirozde

Copy link
Copy Markdown
ContributorAuthor

@kadirozde overall looks like a great improvement. I have added a few comments. Some questions:

  1. Is it more beneficial to have paging based on row size rather than number of rows, since each row can be arbitrarily large?
  2. Server-side pagination will help reduce the chance of the race conditions mentioned in the Jira description, but does not aim at eliminating them, correct?
  3. Though this is aimed at such race conditions related to mutations (server-side UPSERT SELECT/DELETE), it seems like it will also affect the normal read path for non-Group_By aggregate queries. Is there any negative effect/extra slowness during reads due to this pagination, and if yes, do we want to make sure that changes only affect the write paths?

Let's also please add some tests for this.

  1. Not sure about it but we can introduce additional constraints like the total size of scanned bytes as you suggested to further improve this feature later.
  2. This is correct. By itself, it does not eliminate. However, the client can wait for all the page operation to complete or fail before returning to the application, as an additional improvement. This will further reduce the race conditions. I think we have to enforce the client side timestamp to make the race almost impossible.
  3. I expect this feature will improve the overall performance and availability since paging limits the memory usage and the time to hold server resources. My experience with paging on a real cluster is very positive. I have not seen any negative impact yet as long as the page size is not very small (e.g., less than 1000).

@ChinmaySKulkarniChinmaySKulkarni left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for addressing my comments @kadirozde. Can you please open a follow-up documentation Jira to add some info about this useful feature and also the new config to enable it. Thanks

@kadirozde

Copy link
Copy Markdown
ContributorAuthor

@ChinmaySKulkarni, Thank you for reviewing this and asking very good questions. I just had a conversation on this with Sukumar Maddineni and we agreed that the limit on the paging size should be in terms of the time to spend on the server side instead of the number of rows or bytes. If you agree too, I would like to update the PR accordingly. Also, I will write a doc that will cover this and the other two Jiras (6207 and 6211).

@ChinmaySKulkarni

Copy link
Copy Markdown
Contributor

@ChinmaySKulkarni, Thank you for reviewing this and asking very good questions. I just had a conversation on this with Sukumar Maddineni and we agreed that the limit on the paging size should be in terms of the time to spend on the server side instead of the number of rows or bytes. If you agree too, I would like to update the PR accordingly. Also, I will write a doc that will cover this and the other two Jiras (6207 and 6211).

No problem, thanks for the quick turnaround. I think that makes sense too. It will be interesting to see how to handle corner cases where for example, we have processed the last row partially. A design doc will be very helpful.

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec5m 15sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall10m 44s4.x passed
+1 💚compile0m 54s4.x passed
+1 💚checkstyle1m 19s4.x passed
+1 💚javadoc0m 44s4.x passed
+0 🆗spotbugs2m 50sphoenix-core in 4.x has 946 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall5m 11sthe patch passed
+1 💚compile0m 55sthe patch passed
+1 💚javac0m 55sthe patch passed
-1 ❌checkstyle1m 22sphoenix-core: The patch generated 311 new + 1799 unchanged - 216 fixed = 2110 total (was 2015)
+1 💚whitespace0m 1sThe patch has no whitespace issues.
+1 💚javadoc0m 43sthe patch passed
-1 ❌spotbugs3m 6sphoenix-core generated 1 new + 945 unchanged - 1 fixed = 946 total (was 946)
_ Other Tests _
-1 ❌unit190m 26sphoenix-core in the patch failed.
+1 💚asflicense0m 37sThe patch does not generate ASF License warnings.
226m 53s
ReasonTests
FindBugsmodule:phoenix-core
Switch statement found in org.apache.phoenix.coprocessor.UngroupedAggregateRegionScanner.descRowKeyOrderUpgrade(List, ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:[lines 382-403]
Failed junit testsTEST-[InQueryIT_0]
phoenix.end2end.OrderByWithSpillingIT
phoenix.end2end.index.PartialIndexRebuilderIT
phoenix.end2end.index.MutableIndexExtendedIT
phoenix.end2end.AlterTableIT
phoenix.end2end.index.GlobalIndexOptimizationIT
phoenix.end2end.OrphanViewToolIT
phoenix.end2end.IndexToolForNonTxGlobalIndexIT
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/7/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#936
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux ad601483d01b 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / 21e729f
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/7/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/7/artifact/yetus-general-check/output/new-spotbugs-phoenix-core.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/7/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/7/testReport/
Max. process+thread count6225 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/7/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

conf.setInt(NUM_CONCURRENT_INDEX_WRITER_THREADS_CONF_KEY, 1);
conf.setInt(GLOBAL_INDEX_ROW_AGE_THRESHOLD_TO_DELETE_MS_ATTRIB, 0);
if (conf.getLong(QueryServices.UNGROUPED_AGGREGATE_PAGE_SIZE_IN_MS, 0) == 0) {
conf.setLong(QueryServices.UNGROUPED_AGGREGATE_PAGE_SIZE_IN_MS, 0);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to set this to some non-zero value?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I set it to 1 ms first but observed that even within 1ms pages, several iterations can be processed in a page . So, in order to make sure that every test is subject to paging, I had to set it to 0, which results in one-row pages.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant, the if condition is checking that the config is 0 and then setting it to zero itself. Perhaps you meant to invert the condition

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh nevermind. I see that you're passing in 0 as the default in the getLong.

Comment threadphoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java Outdated
@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 55sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall11m 16s4.x passed
+1 💚compile1m 0s4.x passed
+1 💚checkstyle1m 9s4.x passed
+1 💚javadoc0m 49s4.x passed
+0 🆗spotbugs3m 8sphoenix-core in 4.x has 946 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall5m 57sthe patch passed
+1 💚compile1m 1sthe patch passed
+1 💚javac1m 1sthe patch passed
-1 ❌checkstyle1m 10sphoenix-core: The patch generated 323 new + 1785 unchanged - 230 fixed = 2108 total (was 2015)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 44sthe patch passed
-1 ❌spotbugs3m 21sphoenix-core generated 1 new + 945 unchanged - 1 fixed = 946 total (was 946)
_ Other Tests _
-1 ❌unit132m 4sphoenix-core in the patch failed.
+1 💚asflicense0m 38sThe patch does not generate ASF License warnings.
166m 2s
ReasonTests
FindBugsmodule:phoenix-core
Switch statement found in org.apache.phoenix.coprocessor.UngroupedAggregateRegionScanner.descRowKeyOrderUpgrade(List, ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:[lines 383-404]
Failed junit testsphoenix.end2end.index.DropColumnIT
phoenix.end2end.PointInTimeQueryIT
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/9/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#936
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux cbaa4632fb3d 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / c9c80b2
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/9/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/9/artifact/yetus-general-check/output/new-spotbugs-phoenix-core.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/9/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/9/testReport/
Max. process+thread count6532 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/9/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 31sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall10m 41s4.x passed
+1 💚compile0m 54s4.x passed
+1 💚checkstyle1m 20s4.x passed
+1 💚javadoc0m 43s4.x passed
+0 🆗spotbugs2m 58sphoenix-core in 4.x has 946 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall5m 17sthe patch passed
+1 💚compile0m 55sthe patch passed
+1 💚javac0m 55sthe patch passed
-1 ❌checkstyle1m 22sphoenix-core: The patch generated 323 new + 1785 unchanged - 230 fixed = 2108 total (was 2015)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 43sthe patch passed
-1 ❌spotbugs3m 9sphoenix-core generated 1 new + 945 unchanged - 1 fixed = 946 total (was 946)
_ Other Tests _
-1 ❌unit124m 11sphoenix-core in the patch failed.
+1 💚asflicense0m 38sThe patch does not generate ASF License warnings.
156m 5s
ReasonTests
FindBugsmodule:phoenix-core
Switch statement found in org.apache.phoenix.coprocessor.UngroupedAggregateRegionScanner.descRowKeyOrderUpgrade(List, ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:[lines 383-404]
Failed junit testsphoenix.rpc.PhoenixServerRpcIT
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/10/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#936
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux c158ee7b0562 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / c9c80b2
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/10/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/10/artifact/yetus-general-check/output/new-spotbugs-phoenix-core.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/10/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/10/testReport/
Max. process+thread count3780 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/10/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@gjacoby126gjacoby126 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exciting change, thanks for this @kadirozde . I have mostly nits.

result.setKeyValues(results);
}
void deleteRow(List<Cell> results, UngroupedAggregateRegionObserver.MutationList mutations) {
// FIXME: the version of the Delete constructor without the lock

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment isn't relevant anymore. (The RowLock constructor for deletes is long gone)

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will remove the comment

} else if (isDelete) {
deleteRow(results, mutations);
} else if (isUpsert) {
upsert(result, ptr, mutations);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you SO much for these Extract Methods. :-)

List<IndexMaintainer> indexMaintainers;
boolean isPKChanging = false;
long ts;
PhoenixTransactionProvider txnProvider = null;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of package-level variables -- can any of these be made private? If an external class is referring to them (such as UARO), that's too-tight coupling. But it looks like these are mostly transplanted locals from UARO, so they should be safe to make private?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will make all of them private as you suggested.

}

public void commitBatchWithRetries(final Region region, final List<Mutation> localRegionMutations, final long blockingMemstoreSize) throws IOException {
Configuration getUpsertSelectConfig() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Package scope is intentional in these methods?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Initially these were class private. I made them public unnecessarily in one of my previous Jiras when I introduced IndexRebuildRegionScanner. Based on Chinmay's feedback, I made them package private as they are only accessed within the package.

byte[] oldRow = Bytes.copy(firstKV.getRowArray(), firstKV.getRowOffset(), firstKV.getRowLength());
for (Cell cell : results) {
// Copy existing cell but with new row key
Cell newCell = new KeyValue(newRow, 0, newRow.length,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

KeyValue is IA.Private -- I know this is extracted from existing code, but good to get rid of these when we find them. Can be replaced with CellUtil.createCell and CellUtil.cloneFamily, etc.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

case Put:
// If Put, point delete old Put
Delete del = new Delete(oldRow);
del.addDeleteMarker(new KeyValue(cell.getRowArray(), cell.getRowOffset(), cell.getRowLength(),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto here

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

+ region.getRegionInfo().getRegionNameAsString(), e);
throw e;
}
KeyValue keyValue;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can also be a Cell populated by CellUtil below at 632.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 30sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall10m 38s4.x passed
+1 💚compile0m 54s4.x passed
+1 💚checkstyle1m 20s4.x passed
+1 💚javadoc0m 46s4.x passed
+0 🆗spotbugs2m 54sphoenix-core in 4.x has 946 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall5m 15sthe patch passed
+1 💚compile0m 55sthe patch passed
+1 💚javac0m 55sthe patch passed
-1 ❌checkstyle1m 23sphoenix-core: The patch generated 283 new + 1785 unchanged - 230 fixed = 2068 total (was 2015)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 43sthe patch passed
-1 ❌spotbugs3m 8sphoenix-core generated 1 new + 945 unchanged - 1 fixed = 946 total (was 946)
_ Other Tests _
-1 ❌unit139m 4sphoenix-core in the patch failed.
+1 💚asflicense0m 39sThe patch does not generate ASF License warnings.
171m 0s
ReasonTests
FindBugsmodule:phoenix-core
Switch statement found in org.apache.phoenix.coprocessor.UngroupedAggregateRegionScanner.descRowKeyOrderUpgrade(List, ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:ImmutableBytesWritable, UngroupedAggregateRegionObserver$MutationList) where default case is missing At UngroupedAggregateRegionScanner.java:[lines 379-398]
Failed junit testsphoenix.end2end.StatsEnabledSplitSystemCatalogIT
phoenix.end2end.index.GlobalImmutableNonTxIndexIT
phoenix.end2end.UpsertSelectIT
phoenix.end2end.InQueryIT
phoenix.end2end.index.ChildViewsUseParentViewIndexIT
phoenix.end2end.BackwardCompatibilityIT
phoenix.end2end.index.AlterIndexIT
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/11/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#936
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux 4c51add2915a 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / 565b0ea
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/11/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/11/artifact/yetus-general-check/output/new-spotbugs-phoenix-core.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/11/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/11/testReport/
Max. process+thread count6470 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-936/11/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@gjacoby126gjacoby126 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, thanks @kadirozde

@kadirozde
kadirozde deleted the 5998 branch November 14, 2020 02:01
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@kadirozde@stoty@gjacoby126@ChinmaySKulkarni@gokceni