scala - Set up sbt for use with HBase -
i'm trying work hbase spark/scala using sbt , followed instructions replaced version 1.2.1. however, seems machine cannot resolve dependencies.
below .sbt/repositories file:
[repositories] local sbt-releases-repo: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaversion]/)(sbt_[sbtversion]/)[revision]/[type]s/[artifact](-[classifier]).[ext] sbt-plugins-repo: http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/, [organization]/[module]/(scala_[scalaversion]/)(sbt_[sbtversion]/)[revision]/[type]s/[artifact](-[classifier]).[ext] maven-central: http://repo1.maven.org/maven2/ concurrent-maven: http://conjars.org/repo/
i'm using intellij , tells me hbase still unresolved dependency , don't see hbase when type org.apache.hadoop.
, should appear in list.
am missing repo or resolver?
i figured out: if can use 1 of chd or hdp versions, in case works out fine because use hdp, have add repos here.
then in build.sbt
use version hadoop distro. if happen use vanilla hbase, have publish local repo. haven't opted though.
and yes, right: libraries reside in org.apache.hadoop.hbase
.
Comments
Post a Comment