ZKTestingUtility的Hbase测试实用程序依赖性问题

问题描述 投票:1回答:1

在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
)
scala hbase
1个回答
0
投票

您找到任何解决方案吗?

© www.soinside.com 2019 - 2024. All rights reserved.