Skip to content

HBASE-26907 Update Hadoop3 versions for JEP 223 compliance - #4305

Closed
ndimiduk wants to merge 2 commits into
apache:masterfrom
ndimiduk:26907-hadoop3-JEP223-compliance
Closed

HBASE-26907 Update Hadoop3 versions for JEP 223 compliance#4305
ndimiduk wants to merge 2 commits into
apache:masterfrom
ndimiduk:26907-hadoop3-JEP223-compliance

Conversation

@ndimiduk

Copy link
Copy Markdown
Member

No description provided.

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

See investigation and discussion on the JIRA.

Maybe we want to drop 2.3 from the matrix in the book?

Our personality makes no distinction in Hadoop3 versions for JDK8 vs. JDK11+. The latter requires 3.2+. We probably should fix that.

@Apache-HBase

This comment was marked as outdated.

2 similar comments
@Apache-HBase

This comment was marked as outdated.

@Apache-HBase

This comment was marked as outdated.

@Apache-HBase

This comment was marked as outdated.

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

Well that's interesting. From hadoop-3.3.2:

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : [INFO] -------------------------------------------------------------
[ERROR] /home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-4305/yetus-general-check/src/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java:[832,29] package org.apache.htrace.core does not exist
[INFO] 1 error
[INFO] -------------------------------------------------------------

@busbey

Copy link
Copy Markdown
Contributor

we have our hbase-thirdparty no-op stand-in for htrace. We can add a profile for including that when building against some Hadoops?

@Apache-HBase

This comment was marked as outdated.

@Apache-HBase

This comment was marked as outdated.

@Apache9Apache9 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.

Just a simple nit.

And on the compatibile matrix, IIRC we have a consensus that we will only have ref guide on master branch so it should contain all the release lines instead of only non-EOL release lines. So let's still keep the 2.3.x release line. Let me find the thread on mailing list and try to move forward on this topic.

Comment threaddev-support/hbase-personality.sh Outdated

@joshelserjoshelser left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM (agree with Duo's suggestion to bump to the latest 3.3.x)

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

And on the compatibile matrix, IIRC we have a consensus that we will only have ref guide on master branch so it should contain all the release lines instead of only non-EOL release lines. So let's still keep the 2.3.x release line. Let me find the thread on mailing list and try to move forward on this topic.

@Apache9 okay ; I'll take your word for it, I can restore the 2.3 entries. Obviously we don't have all released mentioned, so at what point do we drop them off?

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

I opened HBASE-26954 for the Hadoop 3.3.2 compilation issue.

@ndimiduk
ndimidukforce-pushed the 26907-hadoop3-JEP223-compliance branch from 8a71d7c to 5f8345dCompareApril 13, 2022 21:06
@ndimiduk

Copy link
Copy Markdown
MemberAuthor

I've bumped our Hadoop 3.2 dependency to 3.2.3, per @Apache9 's suggestion. I've retained the HBase 2.3 rows in the compatibility matrix. I've stepped back our promises about Hadoop 3.3.2, given HBASE-26954.

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

Let me see which branches are impacted by HBASE-26954.

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

HBASE-26954 seems to only affect master branch.

@Apache-HBase

This comment was marked as outdated.

2 similar comments
@Apache-HBase

This comment was marked as outdated.

@Apache-HBase

This comment was marked as outdated.

@Apache-HBase

This comment was marked as outdated.

@Apache9

Copy link
Copy Markdown
Contributor

And on the compatibile matrix, IIRC we have a consensus that we will only have ref guide on master branch so it should contain all the release lines instead of only non-EOL release lines. So let's still keep the 2.3.x release line. Let me find the thread on mailing list and try to move forward on this topic.

@Apache9 okay ; I'll take your word for it, I can restore the 2.3 entries. Obviously we don't have all released mentioned, so at what point do we drop them off?

This has not been well discussed yet, I mean when to drop the EOL versions. For me, I prefer we split the table to two pieces, for EOL versions, after some time(half a year or a whole year?), we move it to the 'archived' pieces, which means we will not update them any more.

@Apache-HBase

This comment was marked as outdated.

@Apache9

Copy link
Copy Markdown
Contributor

Any updates here?

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

Progress is reported over on the linked ticket where I describe the test failure. There's a ThreadGroup object that goes out of scope during DataNode operation on these newer Hadoop versions. I think that the explicitly managed ThreadGoup serves no purpose, but I'm still looking for a commit that changed the behavior.

I believe is indicates a real and serious bug in the DataNode, which will cause it to become unresponsive after an idle period.

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

I think @saintstack fixed the issue i was seeing in HDFS-16586 / apache/hadoop#4338 . Let me see how widely that patch has propagated.

@Apache9

Copy link
Copy Markdown
Contributor

Ah, I've replied on the jira, in HBASE-27148 we have already moved up the hadoop 3.2.3.

I also noticed the problem described in HDFS-16586 but I'm afraid we can not only support the hadoop versions which have this patch since it is only a test issue. I added a piece of workaround code in HBTU so we can still use the versions which do not have HDFS-16586 in.

privatestaticfinalclassFsDatasetAsyncDiskServiceFixerextendsThread {

So I think we could close this PR now?

@ndimiduk
ndimidukforce-pushed the 26907-hadoop3-JEP223-compliance branch from 0b9fb7d to a215a0aCompareAugust 15, 2022 13:06
@ndimiduk

Copy link
Copy Markdown
MemberAuthor

Rebased and squashed current patched onto latest master.

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

Ah, I've replied on the jira, in HBASE-27148 we have already moved up the hadoop 3.2.3.

@Apache9 Ah okay, I missed HBASE-27148.

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

It looks like we still have hadoop-3.1.2 in the quick-check list for branch-2.4, I guess we can bump that version. Also, it appears that I have added a column regarding branch-2.5 in this patch.

Let me push an updated based the knowledge of HBASE-27148.

@Apache9

Copy link
Copy Markdown
Contributor

It looks like we still have hadoop-3.1.2 in the quick-check list for branch-2.4, I guess we can bump that version. Also, it appears that I have added a column regarding branch-2.5 in this patch.

Let me push an updated based the knowledge of HBASE-27148.

Sounds good.

And please see #4692 , where I plan to change the hadoop check versions for our active branches, which also implies what hadoop versions we still wantto support. I think for 2.4.x, we should not remove the support of a hadoop version, but for 2.5+, we can drop the EOL versions and also the versions which have critical CVEs.

- drop 3.1.x
- ensure 3.2 >= 3.2.3
- add 3.3.3, 3.3.4
@Apache-HBase

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/4/console in case of problems.

2 similar comments
@Apache-HBase

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/4/console in case of problems.

@Apache-HBase

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/4/console in case of problems.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 42sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
_ Patch Compile Tests _
_ Other Tests _
1m 41s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/4/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#4305
Optional Tests
unameLinux de954c16e7c7 5.4.0-1071-aws #76~18.04.1-Ubuntu SMP Mon Mar 28 17:49:57 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 9215066
Max. process+thread count29 (vs. ulimit of 30000)
modulesC: . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/4/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 57sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
_ Patch Compile Tests _
_ Other Tests _
2m 5s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/4/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4305
Optional Tests
unameLinux 312e578bb58a 5.4.0-1081-aws #88~18.04.1-Ubuntu SMP Thu Jun 23 16:29:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 9215066
Max. process+thread count37 (vs. ulimit of 30000)
modulesC: . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/4/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

Hmm okay. @Apache9 how about I close HBASE-26907 this PR and let you resolve them on HBASE-27294. Do you might grabbing the update to the book once that ticket is resolved? Thanks.

@Apache9

Copy link
Copy Markdown
Contributor

Hmm okay. @Apache9 how about I close HBASE-26907 this PR and let you resolve them on HBASE-27294. Do you might grabbing the update to the book once that ticket is resolved? Thanks.

For the book update let's open a separated issue? As part of the branch-2.5 release process.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 39sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗shelldocs0m 0sShelldocs was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+1 💚mvninstall3m 46smaster passed
+0 🆗refguide3m 22sbranch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚spotless1m 6sbranch has no errors when running spotless:check.
_ Patch Compile Tests _
+1 💚mvninstall3m 21sthe patch passed
+1 💚shellcheck0m 1sThere were no new shellcheck issues.
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+0 🆗refguide2m 46spatch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚spotless0m 50spatch has no errors when running spotless:check.
_ Other Tests _
+1 💚asflicense0m 13sThe patch does not generate ASF License warnings.
18m 43s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4305
Optional Testsdupname asflicense spotless shellcheck shelldocs refguide
unameLinux 695c599fd0f6 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 toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 9215066
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4305/4/yetus-general-check/output/branch-site/book.html
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4305/4/yetus-general-check/output/patch-site/book.html
Max. process+thread count64 (vs. ulimit of 30000)
modulesC: . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/4/console
versionsgit=2.17.1 maven=3.6.3 shellcheck=0.4.6
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache9

Copy link
Copy Markdown
Contributor

Ah, maybe I misunderstood your comment. You also mean we open a new issue to land the book update? That's fine by me. I could help implementing the PR or reviewing the PR, no problem. Thanks.

@Apache-HBase

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/5/console in case of problems.

2 similar comments
@Apache-HBase

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/5/console in case of problems.

@Apache-HBase

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/5/console in case of problems.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 41sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
_ Patch Compile Tests _
_ Other Tests _
1m 28s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/5/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#4305
Optional Tests
unameLinux 24c3d085eac6 5.4.0-1071-aws #76~18.04.1-Ubuntu SMP Mon Mar 28 17:49:57 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 9215066
Max. process+thread count29 (vs. ulimit of 30000)
modulesC: . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/5/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 42sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
_ Patch Compile Tests _
_ Other Tests _
1m 31s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/5/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4305
Optional Tests
unameLinux 538fb0037040 5.4.0-1081-aws #88~18.04.1-Ubuntu SMP Thu Jun 23 16:29:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 9215066
Max. process+thread count39 (vs. ulimit of 30000)
modulesC: . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/5/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 29sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+0 🆗shelldocs0m 1sShelldocs was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+1 💚mvninstall3m 17smaster passed
+0 🆗refguide3m 6sbranch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚spotless1m 14sbranch has no errors when running spotless:check.
_ Patch Compile Tests _
+1 💚mvninstall3m 12sthe patch passed
+1 💚shellcheck0m 1sThere were no new shellcheck issues.
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+0 🆗refguide2m 54spatch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚spotless1m 1spatch has no errors when running spotless:check.
_ Other Tests _
+1 💚asflicense0m 14sThe patch does not generate ASF License warnings.
17m 51s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/5/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4305
Optional Testsdupname asflicense spotless shellcheck shelldocs refguide
unameLinux 51327528fcf9 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 toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 9215066
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4305/5/yetus-general-check/output/branch-site/book.html
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4305/5/yetus-general-check/output/patch-site/book.html
Max. process+thread count70 (vs. ulimit of 30000)
modulesC: . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4305/5/console
versionsgit=2.17.1 maven=3.6.3 shellcheck=0.4.6
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

Superceded HBASE-27148, HBASE-27294.

@ndimiduk
ndimiduk deleted the 26907-hadoop3-JEP223-compliance branch August 16, 2022 12:26
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.

6 participants

@ndimiduk@Apache-HBase@busbey@Apache9@joshelser@apurtell