This is an automated email from the ASF dual-hosted git repository.
pjfanning pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors.git
The following commit(s) were added to refs/heads/main by this push:
new a9ba6141a Update hbase-common, hbase-shaded-client, ... to 2.6.7
(#1986)
a9ba6141a is described below
commit a9ba6141a8379eb56ec299a6019070893968b53f
Author: Scala Steward <[email protected]>
AuthorDate: Fri Oct 2 18:56:52 2026 +0200
Update hbase-common, hbase-shaded-client, ... to 2.6.7 (#1986)
* Update hbase-common, hbase-shaded-client, ... to 2.6.7
* HBase: keep real JUnit jars ahead of hbase-shaded-testing-util
Motivation:
hbase-shaded-testing-util 2.6.7 bundles unshaded JUnit Jupiter and
JUnit Platform engine classes from an older release (2.6.6 bundled none).
It sits ahead of the JUnit jars on the forked test classpath, so the
JUnit Platform launcher 6.0.3 paired with the stale engine classes and
HBaseStageTest failed discovery with "OutputDirectoryProvider not
available".
Modification:
Reorder the HBase Test / fullClasspath so junit-* and opentest4j-* jars
come first. Only the JUnit classes change precedence.
Result:
hbase tests pass on Scala 2.13 and 3 (18 passed, 0 errors).
---------
Co-authored-by: PJ Fanning <[email protected]>
---
project/Dependencies.scala | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index a75639362..8b9d3296e 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.scala
@@ -310,7 +310,7 @@ object Dependencies {
"io.specto" % "hoverfly-java" % hoverflyVersion % Test) ++ Mockito)
val HBase = {
- val hbaseVersion = "2.6.6"
+ val hbaseVersion = "2.6.7"
Seq(
libraryDependencies ++= Seq(
("org.apache.hbase" % "hbase-shaded-client" % hbaseVersion)
@@ -333,7 +333,16 @@ object Dependencies {
.exclude("org.apache.logging.log4j", "log4j-slf4j-impl")
.exclude("ch.qos.reload4j", "reload4j")
.exclude("org.slf4j", "slf4j-reload4j"),
- "org.slf4j" % "log4j-over-slf4j" % Slf4jVersion % Test))
+ "org.slf4j" % "log4j-over-slf4j" % Slf4jVersion % Test),
+ // hbase-shaded-testing-util bundles unshaded JUnit classes from an
older release; put the
+ // real JUnit jars ahead of it so the JUnit Platform launcher and engine
stay aligned
+ Test / fullClasspath := {
+ val (junit, others) = (Test / fullClasspath).value.partition { entry =>
+ val name = entry.data.getName
+ name.startsWith("junit-") || name.startsWith("opentest4j-")
+ }
+ junit ++ others
+ })
}
val Hdfs = Seq(
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]