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

HBASE-26762: Un-Deprecate and improve documentation for Scan#setRowPrefixFilter #4119

Merged
merged 5 commits into from
Mar 2, 2022

Conversation

nielsbasjes
Copy link
Contributor

Issue https://issues.apache.org/jira/browse/HBASE-26762

I found today that with ticket https://issues.apache.org/jira/browse/HBASE-25299 the intended effects of Scan#setRowPrefixFilter were unclear (hence the report of unexpected effects) and instead of just improving the documentation the method was marked as deprecated.

Quote:

@deprecated since 3.0.0. The scan result might be unexpected in some cases.

Yes, if you use this very valuable method incorrectly it will yield incorrect results.

I strongly disagree with this deprecation because it is one of the most used methods of Scan in many of my applications.

I do agree the documentation should more clearly indicate these combinations do not work.

This pull request does only 2 things:

  • Remove the deprecation
  • Improve the documentation.

@nielsbasjes
Copy link
Contributor Author

I'm in doubt about the test that was added testRowPrefixFilterAndStartRow :
https://github.com/apache/hbase/blob/master/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestScanRowPrefix.java#L234

This is effectively showing that if you use these functions incorrectly you get unexpected results.

@nielsbasjes nielsbasjes force-pushed the HBASE-26762-setRowPrefixFilter branch from fe6c4b9 to d35632f Compare February 19, 2022 16:35
@nielsbasjes
Copy link
Contributor Author

As discussed with Duo Zhang I'm re-deprecating the old name and providing a replacement with a better (non-confusing) name: setStartStopRowForPrefixScan

In addition to the Scan related method I found that both of these classes also have a method with the same name "setRowPrefixFilter"

./hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALPrettyPrinter.java
This seems to be only used by this class: so I'm not going to change it.

./hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/replication/VerifyReplication.java
Here it is a private method that actually uses the PrefixFilter class: so I'm not going to change it.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 6m 32s 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.
_ master Compile Tests _
+0 🆗 mvndep 0m 18s Maven dependency ordering for branch
+1 💚 mvninstall 3m 9s master passed
+1 💚 compile 8m 10s master passed
+1 💚 checkstyle 1m 14s master passed
+0 🆗 refguide 3m 1s branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚 spotbugs 12m 57s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
+1 💚 mvninstall 3m 15s the patch passed
+1 💚 compile 7m 9s the patch passed
-0 ⚠️ javac 7m 9s root generated 3 new + 1622 unchanged - 3 fixed = 1625 total (was 1625)
-0 ⚠️ checkstyle 1m 17s root: The patch generated 2 new + 7 unchanged - 1 fixed = 9 total (was 8)
+1 💚 rubocop 0m 3s There were no new rubocop issues.
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+0 🆗 refguide 1m 39s patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚 hadoopcheck 12m 32s Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚 spotbugs 12m 18s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 29s The patch does not generate ASF License warnings.
80m 19s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #4119
JIRA Issue HBASE-26762
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile rubocop refguide
uname Linux 086d259057a6 5.4.0-1025-aws #25~18.04.1-Ubuntu SMP Fri Sep 11 12:03:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / cd45cad
Default Java AdoptOpenJDK-1.8.0_282-b08
refguide https://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4119/1/yetus-general-check/output/branch-site/book.html
javac https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/1/artifact/yetus-general-check/output/diff-compile-javac-root.txt
checkstyle https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/1/artifact/yetus-general-check/output/diff-checkstyle-root.txt
refguide https://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4119/1/yetus-general-check/output/patch-site/book.html
Max. process+thread count 87 (vs. ulimit of 30000)
modules C: hbase-client hbase-server hbase-shell . U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/1/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 58s Docker mode activated.
-0 ⚠️ yetus 0m 4s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for branch
+1 💚 mvninstall 3m 59s master passed
+1 💚 compile 2m 39s master passed
+1 💚 shadedjars 5m 47s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 3m 17s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 12s Maven dependency ordering for patch
+1 💚 mvninstall 3m 33s the patch passed
+1 💚 compile 2m 32s the patch passed
+1 💚 javac 2m 32s the patch passed
+1 💚 shadedjars 5m 53s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 3m 41s the patch passed
_ Other Tests _
+1 💚 unit 431m 19s root in the patch passed.
467m 31s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #4119
JIRA Issue HBASE-26762
Optional Tests javac javadoc unit shadedjars compile
uname Linux 8403d238be9f 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / cd45cad
Default Java AdoptOpenJDK-11.0.10+9
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/1/testReport/
Max. process+thread count 2477 (vs. ulimit of 30000)
modules C: hbase-client hbase-server hbase-shell . U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/1/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 2m 29s Docker mode activated.
-0 ⚠️ yetus 0m 2s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for branch
+1 💚 mvninstall 3m 11s master passed
+1 💚 compile 2m 7s master passed
+1 💚 shadedjars 5m 32s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 55s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for patch
+1 💚 mvninstall 3m 0s the patch passed
+1 💚 compile 1m 59s the patch passed
+1 💚 javac 1m 59s the patch passed
+1 💚 shadedjars 5m 33s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 47s the patch passed
_ Other Tests _
-1 ❌ unit 552m 26s root in the patch failed.
585m 11s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #4119
JIRA Issue HBASE-26762
Optional Tests javac javadoc unit shadedjars compile
uname Linux 8cca2496482d 5.4.0-1025-aws #25~18.04.1-Ubuntu SMP Fri Sep 11 12:03:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / cd45cad
Default Java AdoptOpenJDK-1.8.0_282-b08
unit https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/1/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/1/testReport/
Max. process+thread count 1625 (vs. ulimit of 30000)
modules C: hbase-client hbase-server hbase-shell . U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/1/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

…efixFilter

Signed-off-by: Niels Basjes <nielsbasjes@apache.org>
…d results

Signed-off-by: Niels Basjes <nielsbasjes@apache.org>
…owForPrefixScan

Signed-off-by: Niels Basjes <nielsbasjes@apache.org>
@nielsbasjes nielsbasjes force-pushed the HBASE-26762-setRowPrefixFilter branch from 20500dd to 3129b5f Compare February 23, 2022 20:50
@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 41s 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.
_ master Compile Tests _
+0 🆗 mvndep 0m 14s Maven dependency ordering for branch
+1 💚 mvninstall 2m 38s master passed
+1 💚 compile 5m 39s master passed
+1 💚 checkstyle 1m 7s master passed
+0 🆗 refguide 2m 2s branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚 spotbugs 8m 53s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 9s Maven dependency ordering for patch
+1 💚 mvninstall 2m 22s the patch passed
+1 💚 compile 5m 28s the patch passed
+1 💚 javac 5m 28s the patch passed
-0 ⚠️ checkstyle 1m 7s root: The patch generated 2 new + 7 unchanged - 1 fixed = 9 total (was 8)
+1 💚 rubocop 0m 3s There were no new rubocop issues.
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+0 🆗 refguide 1m 36s patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚 hadoopcheck 11m 50s Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚 spotbugs 9m 7s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 30s The patch does not generate ASF License warnings.
58m 52s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #4119
JIRA Issue HBASE-26762
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile rubocop refguide
uname Linux bb3bbea1b2ca 5.4.0-1025-aws #25~18.04.1-Ubuntu SMP Fri Sep 11 12:03:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / cd45cad
Default Java AdoptOpenJDK-1.8.0_282-b08
refguide https://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4119/2/yetus-general-check/output/branch-site/book.html
checkstyle https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/2/artifact/yetus-general-check/output/diff-checkstyle-root.txt
refguide https://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4119/2/yetus-general-check/output/patch-site/book.html
Max. process+thread count 87 (vs. ulimit of 30000)
modules C: hbase-client hbase-server hbase-shell . U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/2/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 3m 37s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 45s Maven dependency ordering for branch
+1 💚 mvninstall 3m 14s master passed
+1 💚 compile 1m 59s master passed
+1 💚 shadedjars 5m 22s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 34s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
+1 💚 mvninstall 2m 54s the patch passed
+1 💚 compile 1m 58s the patch passed
+1 💚 javac 1m 58s the patch passed
+1 💚 shadedjars 5m 18s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 33s the patch passed
_ Other Tests _
+1 💚 unit 395m 43s root in the patch passed.
428m 43s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #4119
JIRA Issue HBASE-26762
Optional Tests javac javadoc unit shadedjars compile
uname Linux 301cfdf2f82f 5.4.0-1047-aws #49~18.04.1-Ubuntu SMP Wed Apr 28 23:08:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / cd45cad
Default Java AdoptOpenJDK-11.0.10+9
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/2/testReport/
Max. process+thread count 2570 (vs. ulimit of 30000)
modules C: hbase-client hbase-server hbase-shell . U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/2/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 1s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 12s Maven dependency ordering for branch
+1 💚 mvninstall 2m 44s master passed
+1 💚 compile 1m 44s master passed
+1 💚 shadedjars 4m 43s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 18s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
+1 💚 mvninstall 2m 24s the patch passed
+1 💚 compile 1m 46s the patch passed
+1 💚 javac 1m 46s the patch passed
+1 💚 shadedjars 4m 40s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 20s the patch passed
_ Other Tests _
+1 💚 unit 557m 1s root in the patch passed.
583m 1s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/2/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #4119
JIRA Issue HBASE-26762
Optional Tests javac javadoc unit shadedjars compile
uname Linux 06f18fe96a79 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / cd45cad
Default Java AdoptOpenJDK-1.8.0_282-b08
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/2/testReport/
Max. process+thread count 2330 (vs. ulimit of 30000)
modules C: hbase-client hbase-server hbase-shell . U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/2/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache9
Copy link
Contributor

Apache9 commented Feb 26, 2022

Oh, one minor thing, I think we could also cherry-pick this change to branch-2 and branch-2.5, so let's change the javadoc from 'since 3.0.0' to 'since 2.5.0'?

Thanks.

Signed-off-by: Niels Basjes <nielsbasjes@apache.org>
@nielsbasjes
Copy link
Contributor Author

I've pushed it with since 2.5.0 now.
I assume

  • you guys will squash and rewrite the commits the way you want them.
  • the old method will be removed from 3.0.0 after this has been merged.

Just let me know if I have to do something from here.

@Apache9
Copy link
Contributor

Apache9 commented Feb 26, 2022

Our guideline is to remove a method which has been marked as deprecated for a whole major release, so usually, if a method is deprecated in 2.5.0, we will remove it in 4.0.0. Unless we found that this is a mistake, or the behavior is really confusing, we will remove it more aggressively.

For this method, since it has been there for a long time, I tend to keep it there and only remove it in 4.0.0, so you could modify the javadoc to 'since 3.0.0, will be removed in 4.0.0'.

And please fix the checkstyle issues? They are both line length issue, a simple format is enough to fix them.

Thanks.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 18s 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.
_ master Compile Tests _
+0 🆗 mvndep 0m 12s Maven dependency ordering for branch
+1 💚 mvninstall 2m 40s master passed
+1 💚 compile 5m 44s master passed
+1 💚 checkstyle 1m 10s master passed
+0 🆗 refguide 2m 12s branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚 spotbugs 8m 59s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
+1 💚 mvninstall 2m 21s the patch passed
+1 💚 compile 5m 47s the patch passed
+1 💚 javac 5m 47s the patch passed
-0 ⚠️ checkstyle 1m 10s root: The patch generated 2 new + 7 unchanged - 1 fixed = 9 total (was 8)
+1 💚 rubocop 0m 3s There were no new rubocop issues.
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+0 🆗 refguide 1m 47s patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚 hadoopcheck 11m 23s Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚 spotbugs 9m 24s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 38s The patch does not generate ASF License warnings.
59m 14s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #4119
JIRA Issue HBASE-26762
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile rubocop refguide
uname Linux fc6e00ffc8b5 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 5dc663e
Default Java AdoptOpenJDK-1.8.0_282-b08
refguide https://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4119/3/yetus-general-check/output/branch-site/book.html
checkstyle https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/3/artifact/yetus-general-check/output/diff-checkstyle-root.txt
refguide https://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4119/3/yetus-general-check/output/patch-site/book.html
Max. process+thread count 87 (vs. ulimit of 30000)
modules C: hbase-client hbase-server hbase-shell . U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/3/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Signed-off-by: Niels Basjes <nielsbasjes@apache.org>
@nielsbasjes
Copy link
Contributor Author

@Apache9

For this method, since it has been there for a long time, I tend to keep it there
and only remove it in 4.0.0, so you could modify the javadoc to
'since 3.0.0, will be removed in 4.0.0'.

I think this should be 'since 2.5.0, will be removed in 4.0.0' ?

And please fix the checkstyle issues? They are both line length issue, a simple format is enough to fix them.

Done.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 39s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 14s Maven dependency ordering for branch
+1 💚 mvninstall 3m 15s master passed
+1 💚 compile 2m 3s master passed
+1 💚 shadedjars 5m 27s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 37s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 9s Maven dependency ordering for patch
+1 💚 mvninstall 2m 56s the patch passed
+1 💚 compile 2m 0s the patch passed
+1 💚 javac 2m 0s the patch passed
+1 💚 shadedjars 5m 21s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 36s the patch passed
_ Other Tests _
+1 💚 unit 402m 23s root in the patch passed.
432m 3s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/3/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #4119
JIRA Issue HBASE-26762
Optional Tests javac javadoc unit shadedjars compile
uname Linux a0576043e401 5.4.0-1047-aws #49~18.04.1-Ubuntu SMP Wed Apr 28 23:08:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 5dc663e
Default Java AdoptOpenJDK-11.0.10+9
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/3/testReport/
Max. process+thread count 2537 (vs. ulimit of 30000)
modules C: hbase-client hbase-server hbase-shell . U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/3/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 9s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 14s Maven dependency ordering for branch
+1 💚 mvninstall 2m 27s master passed
+1 💚 compile 1m 45s master passed
+1 💚 shadedjars 4m 41s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 19s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
+1 💚 mvninstall 2m 26s the patch passed
+1 💚 compile 1m 41s the patch passed
+1 💚 javac 1m 41s the patch passed
+1 💚 shadedjars 4m 42s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 17s the patch passed
_ Other Tests _
+1 💚 unit 557m 31s root in the patch passed.
583m 37s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/3/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #4119
JIRA Issue HBASE-26762
Optional Tests javac javadoc unit shadedjars compile
uname Linux f0250ae02710 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 5dc663e
Default Java AdoptOpenJDK-1.8.0_282-b08
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/3/testReport/
Max. process+thread count 2352 (vs. ulimit of 30000)
modules C: hbase-client hbase-server hbase-shell . U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/3/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 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.
_ master Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for branch
+1 💚 mvninstall 2m 37s master passed
+1 💚 compile 5m 45s master passed
+1 💚 checkstyle 1m 9s master passed
+0 🆗 refguide 2m 9s branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚 spotbugs 9m 10s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for patch
+1 💚 mvninstall 2m 21s the patch passed
+1 💚 compile 5m 44s the patch passed
+1 💚 javac 5m 44s the patch passed
+1 💚 checkstyle 1m 8s root: The patch generated 0 new + 7 unchanged - 1 fixed = 7 total (was 8)
+1 💚 rubocop 0m 3s There were no new rubocop issues.
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+0 🆗 refguide 1m 50s patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚 hadoopcheck 11m 17s Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚 spotbugs 9m 33s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 38s The patch does not generate ASF License warnings.
59m 12s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #4119
JIRA Issue HBASE-26762
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile rubocop refguide
uname Linux 6c2c9c5878ad 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 5dc663e
Default Java AdoptOpenJDK-1.8.0_282-b08
refguide https://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4119/4/yetus-general-check/output/branch-site/book.html
refguide https://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4119/4/yetus-general-check/output/patch-site/book.html
Max. process+thread count 87 (vs. ulimit of 30000)
modules C: hbase-client hbase-server hbase-shell . U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/4/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 39s Docker mode activated.
-0 ⚠️ yetus 0m 2s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 27s Maven dependency ordering for branch
+1 💚 mvninstall 2m 58s master passed
+1 💚 compile 2m 0s master passed
+1 💚 shadedjars 5m 20s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 35s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for patch
+1 💚 mvninstall 2m 52s the patch passed
+1 💚 compile 2m 0s the patch passed
+1 💚 javac 2m 0s the patch passed
+1 💚 shadedjars 5m 22s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 35s the patch passed
_ Other Tests _
+1 💚 unit 399m 21s root in the patch passed.
428m 1s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/4/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #4119
JIRA Issue HBASE-26762
Optional Tests javac javadoc unit shadedjars compile
uname Linux 4c731463491a 5.4.0-1047-aws #49~18.04.1-Ubuntu SMP Wed Apr 28 23:08:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 5dc663e
Default Java AdoptOpenJDK-11.0.10+9
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/4/testReport/
Max. process+thread count 2578 (vs. ulimit of 30000)
modules C: hbase-client hbase-server hbase-shell . U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/4/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache9
Copy link
Contributor

Apache9 commented Feb 27, 2022

@Apache9

For this method, since it has been there for a long time, I tend to keep it there
and only remove it in 4.0.0, so you could modify the javadoc to
'since 3.0.0, will be removed in 4.0.0'.

I think this should be 'since 2.5.0, will be removed in 4.0.0' ?
Ah, yes... Thank you!

And please fix the checkstyle issues? They are both line length issue, a simple format is enough to fix them.

Done.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 12s Docker mode activated.
-0 ⚠️ yetus 0m 2s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 14s Maven dependency ordering for branch
+1 💚 mvninstall 2m 36s master passed
+1 💚 compile 1m 43s master passed
+1 💚 shadedjars 4m 42s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 14s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 12s Maven dependency ordering for patch
+1 💚 mvninstall 2m 23s the patch passed
+1 💚 compile 1m 44s the patch passed
+1 💚 javac 1m 44s the patch passed
+1 💚 shadedjars 4m 41s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 15s the patch passed
_ Other Tests _
+1 💚 unit 555m 15s root in the patch passed.
580m 56s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/4/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #4119
JIRA Issue HBASE-26762
Optional Tests javac javadoc unit shadedjars compile
uname Linux f2dc6ab78b49 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 5dc663e
Default Java AdoptOpenJDK-1.8.0_282-b08
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/4/testReport/
Max. process+thread count 2347 (vs. ulimit of 30000)
modules C: hbase-client hbase-server hbase-shell . U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4119/4/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@nielsbasjes
Copy link
Contributor Author

Is there anything I can do to fix this last error?

https://ci-hbase.apache.org/blue/organizations/jenkins/HBase-PreCommit-GitHub-PR/detail/PR-4119/4/pipeline#step-152-log-2

[2022-02-27T10:35:26.002Z] Recording test results
[2022-02-27T10:35:27.986Z] [Checks API] No suitable checks publisher found.

@Apache9 Apache9 merged commit f6b74b3 into apache:master Mar 2, 2022
@nielsbasjes nielsbasjes deleted the HBASE-26762-setRowPrefixFilter branch March 2, 2022 12:19
Apache9 pushed a commit that referenced this pull request Mar 2, 2022
…fixFilter (#4119)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Apache9 pushed a commit that referenced this pull request Mar 2, 2022
…fixFilter (#4119)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Sign up for free to 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.

4 participants