Skip to content

HBASE-30272 Compatiblity checker can not compile rel/2.0.0 when relea…#8451

Open
Apache9 wants to merge 3 commits into
apache:masterfrom
Apache9:HBASE-30272
Open

HBASE-30272 Compatiblity checker can not compile rel/2.0.0 when relea…#8451
Apache9 wants to merge 3 commits into
apache:masterfrom
Apache9:HBASE-30272

Conversation

@Apache9

@Apache9 Apache9 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

…sing 3.0.0-beta-2

@Apache9 Apache9 self-assigned this Jul 2, 2026
@Apache9 Apache9 requested a review from Copilot July 2, 2026 15:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates HBase’s release-time API compatibility checking (the dev-support/checkcompatibility.py build step invoked from the create-release scripts) to build checked-out source trees with an appropriate JDK (Java 8 vs Java 17), based on the checked-out tree’s Maven version.

Changes:

  • Pass --java8_home / --java17_home from the release scripts into checkcompatibility.py.
  • Add logic in checkcompatibility.py to parse pom.xml and select which JAVA_HOME to use during mvn package.
  • Add CLI flags to configure both JDK homes for mixed-version comparisons (e.g., rel/2.0.0 vs 3.x).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
dev-support/create-release/release-util.sh Passes Java 8/17 home paths into the compatibility checker invocation.
dev-support/checkcompatibility.py Adds POM parsing and per-tree JAVA_HOME selection to build older/newer branches with different JDKs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread dev-support/create-release/release-util.sh
Comment thread dev-support/checkcompatibility.py
Comment thread dev-support/checkcompatibility.py
Apache9 and others added 2 commits July 2, 2026 23:26
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.

3 participants