在Scala 2.12.8中尝试使用HbaseTestingUtility,我得到了
Class org.apache.hadoop.hbase.HBaseZKTestingUtility not found - continuing with a stub.
new HBaseTestingUtility()
sbt进口
val hbaseVersion = "2.1.3"
val hadoopVersion = "3.2.0"
libraryDependencies ++= Seq(
"org.apache.hbase" % "hbase-common" % hbaseVersion % Test classifier "tests",
"org.apache.hbase" % "hbase-client" % hbaseVersion % Test classifier "tests",
"org.apache.hbase" % "hbase-server" % hbaseVersion % Test,
"org.apache.hbase" % "hbase-server" % hbaseVersion % Test classifier "tests",
"org.apache.hbase" % "hbase-hadoop-compat" % hbaseVersion % Test,
"org.apache.hbase" % "hbase-hadoop2-compat" % hbaseVersion % Test,
"org.apache.hbase" % "hbase-hadoop-compat" % hbaseVersion % Test classifier "tests",
"org.apache.hbase" % "hbase-hadoop2-compat" % hbaseVersion % Test classifier "tests",
"org.apache.hbase" % "hbase-testing-util" % hbaseVersion
)
您找到任何解决方案吗?