Skip to content

HBASE-28965 Make the approach in HBASE-28955 can work together with h… - #6450

Merged
Apache9 merged 1 commit into
apache:branch-2from
Apache9:HBASE-28965-branch-2
Nov 15, 2024
Merged

HBASE-28965 Make the approach in HBASE-28955 can work together with h…#6450
Apache9 merged 1 commit into
apache:branch-2from
Apache9:HBASE-28965-branch-2

Conversation

@Apache9

Copy link
Copy Markdown
Contributor

…adoop 2.x

@Apache9Apache9 self-assigned this Nov 7, 2024
@Apache9

Copy link
Copy Markdown
ContributorAuthor

Let's have a try.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.


private DFSOutputStream tryCreateDummyDFSOutputStream(EnumSet<CreateFlag> createFlags) {
try {
return (DFSOutputStream) Class.forName(DUMMY_DFS_OUTPUT_STREAM_CLASS).getConstructors()[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.

Push this down to the helper, and check (and store the resolved class and constructor handle) if the class exists when initializing the helper just like we do for the other Hadoop-dependent cases ?

Should be faster.

Comment threadhbase-asyncfs/pom.xml Outdated
@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache9
Apache9force-pushed the HBASE-28965-branch-2 branch from 010f564 to a925d4cCompareNovember 12, 2024 12:18
@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache9
Apache9force-pushed the HBASE-28965-branch-2 branch from e0cd899 to d6aef55CompareNovember 13, 2024 02:27
@Apache9
Apache9 requested a review from stotyNovember 13, 2024 02:27
@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 47sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ branch-2 Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for branch
+1 💚mvninstall2m 29sbranch-2 passed
+1 💚compile0m 36sbranch-2 passed
+1 💚javadoc0m 33sbranch-2 passed
+1 💚shadedjars4m 49sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall2m 25sthe patch passed
+1 💚compile0m 36sthe patch passed
+1 💚javac0m 36sthe patch passed
+1 💚javadoc0m 33sthe patch passed
+1 💚shadedjars4m 48spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit1m 57shbase-asyncfs in the patch passed.
+1 💚unit0m 10shbase-shaded-check-invariants in the patch passed.
+1 💚unit0m 11shbase-shaded-with-hadoop-check-invariants in the patch passed.
21m 49s
SubsystemReport/Notes
DockerClientAPI=1.47 ServerAPI=1.47 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6450/5/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile
GITHUB PR#6450
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 66d19721dbfa 5.4.0-195-generic #215-Ubuntu SMP Fri Aug 2 18:28:05 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2 / d6aef55
Default JavaTemurin-1.8.0_412-b08
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6450/5/testReport/
Max. process+thread count457 (vs. ulimit of 30000)
modulesC: hbase-asyncfs hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6450/5/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 44sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ branch-2 Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for branch
+1 💚mvninstall2m 53sbranch-2 passed
+1 💚compile0m 40sbranch-2 passed
+1 💚javadoc0m 37sbranch-2 passed
+1 💚shadedjars5m 35sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall3m 5sthe patch passed
+1 💚compile0m 39sthe patch passed
+1 💚javac0m 39sthe patch passed
+1 💚javadoc0m 37sthe patch passed
+1 💚shadedjars5m 36spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit1m 34shbase-asyncfs in the patch passed.
+1 💚unit0m 11shbase-shaded-check-invariants in the patch passed.
+1 💚unit0m 11shbase-shaded-with-hadoop-check-invariants in the patch passed.
24m 17s
SubsystemReport/Notes
DockerClientAPI=1.47 ServerAPI=1.47 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6450/5/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#6450
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 3c040cdbe2c3 5.4.0-195-generic #215-Ubuntu SMP Fri Aug 2 18:28:05 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2 / d6aef55
Default JavaEclipse Adoptium-11.0.23+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6450/5/testReport/
Max. process+thread count784 (vs. ulimit of 30000)
modulesC: hbase-asyncfs hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6450/5/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 42sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ branch-2 Compile Tests _
+0 🆗mvndep0m 27sMaven dependency ordering for branch
+1 💚mvninstall3m 17sbranch-2 passed
+1 💚compile0m 33sbranch-2 passed
+1 💚javadoc0m 31sbranch-2 passed
+1 💚shadedjars6m 9sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for patch
+1 💚mvninstall3m 13sthe patch passed
+1 💚compile0m 33sthe patch passed
+1 💚javac0m 33sthe patch passed
+1 💚javadoc0m 29sthe patch passed
+1 💚shadedjars6m 8spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit1m 4shbase-asyncfs in the patch passed.
+1 💚unit0m 9shbase-shaded-check-invariants in the patch passed.
+1 💚unit0m 9shbase-shaded-with-hadoop-check-invariants in the patch passed.
24m 56s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6450/5/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR#6450
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 60ab27dc79fc 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2 / d6aef55
Default JavaEclipse Adoptium-17.0.11+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6450/5/testReport/
Max. process+thread count607 (vs. ulimit of 30000)
modulesC: hbase-asyncfs hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6450/5/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 41sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+0 🆗shelldocs0m 0sShelldocs was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
_ branch-2 Compile Tests _
+0 🆗mvndep0m 52sMaven dependency ordering for branch
+1 💚mvninstall3m 33sbranch-2 passed
+1 💚compile0m 41sbranch-2 passed
+1 💚checkstyle0m 23sbranch-2 passed
+1 💚spotbugs0m 28sbranch-2 passed
+1 💚spotless0m 48sbranch has no errors when running spotless:check.
_ Patch Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for patch
+1 💚mvninstall3m 4sthe patch passed
+1 💚compile0m 38sthe patch passed
-0 ⚠️javac0m 19s/results-compile-javac-hbase-asyncfs.txthbase-asyncfs generated 2 new + 18 unchanged - 0 fixed = 20 total (was 18)
+1 💚blanks0m 0sThe patch has no blanks issues.
+1 💚checkstyle0m 23sthe patch passed
+1 💚shellcheck0m 1sNo new issues.
+1 💚xmllint0m 0sNo new issues.
+1 💚spotbugs0m 33sthe patch passed
+1 💚hadoopcheck17m 4sPatch does not cause any errors with Hadoop 2.10.2 or 3.3.6 3.4.0.
+1 💚spotless0m 45spatch has no errors when running spotless:check.
_ Other Tests _
+1 💚asflicense0m 26sThe patch does not generate ASF License warnings.
32m 26s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6450/5/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#6450
Optional Testsdupname asflicense javac codespell detsecrets xmllint hadoopcheck spotless compile spotbugs checkstyle hbaseanti shellcheck shelldocs
unameLinux c00ee9c2c91c 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2 / d6aef55
Default JavaEclipse Adoptium-11.0.23+9
Max. process+thread count79 (vs. ulimit of 30000)
modulesC: hbase-asyncfs hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6450/5/console
versionsgit=2.34.1 maven=3.9.8 spotbugs=4.7.3 shellcheck=0.8.0 xmllint=20913
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@stotystoty 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 LGTM

Comment threadhbase-asyncfs/pom.xml
<exclude>**/org/apache/hadoop/hdfs/**</exclude>
</excludes>
<testExcludes>
<testExclude>**/org/apache/hadoop/hbase/io/asyncfs/TestLeaseRenewal**</testExclude>

@NihalJainNihalJainNov 15, 2024

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.

Very nice. I could use this approach to add feature HBASE-27693 Support for Hadoop's LDAP Authentication mechanism (Web UI only) i.e. #5680 to branch-2!

@Apache9
Apache9 merged commit e4f5d55 into apache:branch-2Nov 15, 2024
Apache9 added a commit that referenced this pull request Nov 15, 2024
…adoop 2.x (#6450)
Signed-off-by: Istvan Toth <stoty@apache.org>
(cherry picked from commit e4f5d55)
Apache9 added a commit that referenced this pull request Nov 15, 2024
…adoop 2.x (#6450)
Signed-off-by: Istvan Toth <stoty@apache.org>
(cherry picked from commit e4f5d55)
mokai87 pushed a commit to mokai87/hbase that referenced this pull request Aug 7, 2025
…adoop 2.x (apache#6450)
Signed-off-by: Istvan Toth <stoty@apache.org>
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.

4 participants

@Apache9@Apache-HBase@stoty@NihalJain