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

时间:2019-02-20 18:58:45

标签: scala hbase

尝试在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
)

0 个答案:

没有答案