Skip to content

HBASE-29925 TestCheckTestClasses fails on branch-2.x with JDK8#7798

Merged
Apache9 merged 1 commit intoapache:branch-2from
liuxiaocs7:HBASE-29925
Feb 27, 2026
Merged

HBASE-29925 TestCheckTestClasses fails on branch-2.x with JDK8#7798
Apache9 merged 1 commit intoapache:branch-2from
liuxiaocs7:HBASE-29925

Conversation

@liuxiaocs7
Copy link
Contributor

@liuxiaocs7
Copy link
Contributor Author

liuxiaocs7 commented Feb 26, 2026

Test with the following commands on branch-2 using JDK8

default it fails

mvn test -pl hbase-server -am -Dtest=TestCheckTestClasses

and add hadoop.profile=3.0 it works

mvn test -pl hbase-server -am -Dtest=TestCheckTestClasses -Dhadoop.profile=3.0

Copy link
Contributor

@PDavid PDavid left a comment

Choose a reason for hiding this comment

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

Many thanks! 👍 Special thanks for the TODO.

@guluo2016
Copy link
Member

#7687 check failed with jdk8 is also due to the same reason.
After applying this patch, the check passes.

# mvn clean  test -Dtest=org.apache.hadoop.hbase.TestCheckTestClasses#checkClasses  -pl hbase-server -am

[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.095 s -- in org.apache.hadoop.hbase.TestCheckTestClasses
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- surefire:3.5.3:test (secondPartTestsExecution) @ hbase-server ---
[INFO] Tests are skipped.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache HBase 2.7.0-SNAPSHOT:
[INFO]
[INFO] Apache HBase ....................................... SUCCESS [  1.410 s]

@liuxiaocs7
Copy link
Contributor Author

#7687 check failed with jdk8 is also due to the same reason. After applying this patch, the check passes.

# mvn clean  test -Dtest=org.apache.hadoop.hbase.TestCheckTestClasses#checkClasses  -pl hbase-server -am

[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.095 s -- in org.apache.hadoop.hbase.TestCheckTestClasses
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- surefire:3.5.3:test (secondPartTestsExecution) @ hbase-server ---
[INFO] Tests are skipped.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache HBase 2.7.0-SNAPSHOT:
[INFO]
[INFO] Apache HBase ....................................... SUCCESS [  1.410 s]

Hi, @guluo2016, thanks for your try, I'll rebase branch-2 for #7687 after this patch is in!

@Apache9 Apache9 merged commit 04900c7 into apache:branch-2 Feb 27, 2026
18 of 24 checks passed
Apache9 pushed a commit that referenced this pull request Feb 27, 2026
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Dávid Paksy <paksyd@apache.org>
(cherry picked from commit 04900c7)
Apache9 pushed a commit that referenced this pull request Feb 27, 2026
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Dávid Paksy <paksyd@apache.org>
(cherry picked from commit 04900c7)
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