Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHOENIX-6323 isRawFilterSupported() returns true for HBase 2.1 comapt… #1095

Closed
wants to merge 1 commit into from

Conversation

stoty
Copy link
Contributor

@stoty stoty commented Jan 18, 2021

… module

@stoty stoty requested a review from gjacoby126 January 18, 2021 06:50
@stoty
Copy link
Contributor Author

stoty commented Jan 18, 2021

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 19s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s 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.
_ master Compile Tests _
+0 🆗 mvndep 4m 22s Maven dependency ordering for branch
+1 💚 mvninstall 12m 42s master passed
+0 hbaserecompile 24m 5s HBase recompiled.
+1 💚 compile 1m 37s master passed
+1 💚 checkstyle 0m 38s master passed
+1 💚 javadoc 0m 35s master passed
+0 🆗 spotbugs 0m 35s phoenix-hbase-compat-2.2.1 in master has 1 extant spotbugs warnings.
+0 🆗 spotbugs 0m 31s phoenix-hbase-compat-2.1.6 in master has 1 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
+1 💚 mvninstall 9m 43s the patch passed
+0 hbaserecompile 16m 47s HBase recompiled.
+1 💚 compile 1m 36s the patch passed
+1 💚 javac 1m 36s the patch passed
-1 ❌ checkstyle 0m 39s root: The patch generated 2 new + 15 unchanged - 3 fixed = 17 total (was 18)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 javadoc 0m 33s the patch passed
+1 💚 spotbugs 1m 27s the patch passed
_ Other Tests _
-1 ❌ unit 124m 28s root in the patch failed.
+1 💚 asflicense 0m 55s The patch does not generate ASF License warnings.
179m 7s
Reason Tests
Failed junit tests phoenix.end2end.ProductMetricsIT
phoenix.end2end.UpsertSelectIT
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1095/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #1095
Optional Tests dupname asflicense javac javadoc unit spotbugs hbaserebuild hbaseanti checkstyle compile
uname Linux 0ee514011613 4.15.0-128-generic #131-Ubuntu SMP Wed Dec 9 06:57:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-personality.sh
git revision master / 50df995
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstyle https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1095/1/artifact/yetus-general-check/output/diff-checkstyle-root.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1095/1/artifact/yetus-general-check/output/patch-unit-root.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1095/1/testReport/
Max. process+thread count 9525 (vs. ulimit of 30000)
modules C: phoenix-hbase-compat-2.2.1 phoenix-hbase-compat-2.1.6 U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1095/1/console
versions git=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@gjacoby126
Copy link
Contributor

@stoty - it would be very good if we could support the raw filter scans in the HBase 2.2 branch. They're required to fix a serious bug where building an index on a view can't apply the view's WHERE clause filter condition properly to the index, and so you wind up indexing the entire table in each view index, wasting lots of storage by creating tons of corrupt index rows (that are never read). @abhishek-chouhan discovered and fixed it in PHOENIX-5932.

Does requiring 2.2.5 on the 2.2 branch create difficulties?

@stoty
Copy link
Contributor Author

stoty commented Jan 20, 2021

Thanks for the explanation, @gjacoby126.

For reference, these are our options:

  • bump the minimum version to 2.2.5

  • split the 2.2 pofile into two

  • or make isRawFilterSupported() dynamic depending on the detected HBase version

  • bumping the version is the simplest, but we lock out some users from Phoenix.

  • splitting the profile adds a bit of bloat, and possible confusion

  • making isRawFilterSupported() dynamic is easy, but will cause divergent behaviour for different HBase versions.

I'm going to update the PR to bump the version requirement, but LMK if you prefer one of the other versions.

@stoty
Copy link
Contributor Author

stoty commented Jan 20, 2021

New version requires HBase 2.2.5

@stoty
Copy link
Contributor Author

stoty commented Jan 20, 2021

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 17s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ master Compile Tests _
+0 🆗 mvndep 4m 37s Maven dependency ordering for branch
+1 💚 mvninstall 13m 12s master passed
+0 hbaserecompile 26m 3s HBase recompiled.
+1 💚 compile 1m 43s master passed
+1 💚 checkstyle 0m 53s master passed
+1 💚 javadoc 3m 9s master passed
+0 🆗 spotbugs 0m 35s phoenix-hbase-compat-2.2.1 in master has 1 extant spotbugs warnings.
+0 🆗 spotbugs 0m 35s phoenix-hbase-compat-2.1.6 in master has 1 extant spotbugs warnings.
+0 🆗 spotbugs 5m 1s root in master has 1004 extant spotbugs warnings.
+0 🆗 spotbugs 3m 27s phoenix-core in master has 955 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 33s Maven dependency ordering for patch
+1 💚 mvninstall 11m 39s the patch passed
+0 hbaserecompile 20m 16s HBase recompiled.
+1 💚 compile 1m 39s the patch passed
+1 💚 javac 1m 39s the patch passed
+1 💚 checkstyle 0m 42s root: The patch generated 0 new + 215 unchanged - 2 fixed = 215 total (was 217)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 3s The patch has no ill-formed XML file.
+1 💚 javadoc 2m 52s the patch passed
+1 💚 spotbugs 10m 42s the patch passed
_ Other Tests _
-1 ❌ unit 192m 54s root in the patch failed.
-1 ❌ asflicense 2m 35s The patch generated 610 ASF License warnings.
280m 28s
Reason Tests
Failed junit tests phoenix.end2end.index.GlobalMutableNonTxIndexWithLazyPostBatchWriteIT
phoenix.end2end.index.txn.RollbackIT
phoenix.tx.ParameterizedTransactionIT
phoenix.tx.FlappingTransactionIT
phoenix.end2end.QueryIT
phoenix.end2end.salted.SaltedTableUpsertSelectIT
phoenix.replication.SystemCatalogWALEntryFilterIT
phoenix.end2end.index.ImmutableIndexExtendedIT
phoenix.end2end.ViewTTLIT
phoenix.rpc.UpdateCacheConnectionLevelPropIT
phoenix.util.IndexScrutinyIT
phoenix.end2end.UpsertSelectIT
phoenix.iterate.PhoenixQueryTimeoutIT
phoenix.end2end.join.HashJoinLocalIndexIT
phoenix.rpc.UpdateCacheIT
phoenix.end2end.salted.SaltedTableVarLengthRowKeyIT
phoenix.end2end.index.IndexCoprocIT
phoenix.end2end.join.WhereOptimizerForJoinFiltersIT
phoenix.end2end.index.MutableIndexSplitForwardScanIT
phoenix.iterate.RoundRobinResultIteratorIT
phoenix.end2end.salted.SaltedTableIT
phoenix.end2end.join.SortMergeJoinNoIndexIT
phoenix.end2end.index.SingleCellIndexIT
phoenix.end2end.join.HashJoinPersistentCacheIT
phoenix.end2end.index.LocalMutableNonTxIndexIT
phoenix.end2end.join.SubqueryIT
phoenix.end2end.index.SaltedIndexIT
phoenix.end2end.index.MutableIndexIT
phoenix.end2end.RowValueConstructorOffsetIT
phoenix.end2end.DisableLocalIndexIT
phoenix.end2end.ToCharFunctionIT
phoenix.end2end.join.SortMergeJoinLocalIndexIT
phoenix.end2end.join.HashJoinGlobalIndexIT
phoenix.tx.TxCheckpointIT
phoenix.end2end.join.HashJoinNoIndexIT
phoenix.iterate.ChunkedResultIteratorIT
phoenix.end2end.index.InvalidIndexStateClientSideIT
phoenix.end2end.join.SortMergeJoinGlobalIndexIT
phoenix.tx.TransactionIT
phoenix.end2end.QueryExecWithoutSCNIT
phoenix.end2end.join.SubqueryUsingSortMergeJoinIT
phoenix.end2end.index.GlobalMutableTxIndexIT
phoenix.end2end.PrimitiveTypeIT
phoenix.end2end.index.MutableIndexSplitReverseScanIT
phoenix.end2end.join.HashJoinMoreIT
phoenix.monitoring.IndexMetricsIT
phoenix.end2end.index.txn.MutableRollbackIT
phoenix.end2end.UpsertWithSCNIT
phoenix.trace.PhoenixTableMetricsWriterIT
phoenix.end2end.OnDuplicateKeyIT
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1095/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #1095
Optional Tests dupname asflicense javac javadoc unit xml compile spotbugs hbaserebuild hbaseanti checkstyle
uname Linux 8cd070844151 4.15.0-128-generic #131-Ubuntu SMP Wed Dec 9 06:57:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-personality.sh
git revision master / 772ff2c
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1095/2/artifact/yetus-general-check/output/patch-unit-root.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1095/2/testReport/
asflicense https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1095/2/artifact/yetus-general-check/output/patch-asflicense-problems.txt
Max. process+thread count 8336 (vs. ulimit of 30000)
modules C: phoenix-hbase-compat-2.2.5 phoenix-hbase-compat-2.1.6 phoenix-core . U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1095/2/console
versions git=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty stoty closed this Jan 21, 2021
@stoty stoty deleted the PHOENIX-6323 branch July 29, 2021 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants