下载 org.apache.hive.hive-exec 版本 1.2.1 的依赖项时出错
Error when downloading dependencies for org.apache.hive.hive-exec version 1.2.1
我正在尝试在 sbt 中下载 Hive jar,但出现以下错误。有没有人遇到过这个?请让我知道我需要下载的正确配置单元版本是什么,以便创建一个 class 扩展 GenericUDF class
这是我的 SBT 文件
name := "Test" version := "0.1" scalaVersion := "2.11.8" libraryDependencies += "org.apache.hive" % "hive-exec" % "1.2.1"
下面是我收到的错误信息
[error] at java.lang.Thread.run(Thread.java:748)
[error] (*:update) sbt.librarymanagement.ResolveException: unresolved dependency: org.pentaho#pentaho-aggdesigner-algorithm;5.1.5-jhyde: not found
[error] (*:ssExtractDependencies) sbt.librarymanagement.ResolveException: unresolved dependency: org.pentaho#pentaho-aggdesigner-algorithm;5.1.5-jhyde: not found
添加 conjars 回购。它将下载所需的库。将以下行添加到您的 build.sbt 文件中:
libraryDependencies += "org.apache.hive" % "hive-exec" % "1.2.1"
libraryDependencies += "org.pentaho" % "pentaho-aggdesigner-algorithm" % "5.1.5-jhyde" % Test
resolvers += Resolver.mavenLocal
resolvers += "Cascading repo" at "http://conjars.org/repo"
如果在使用 gradle 时发生同样的错误,将其添加到 build.gradle
文件的 repositories
部分为我解决了这个问题:
maven { url "https://public.nexus.pentaho.org/repository/proxy-public-3rd-party-release" }
我正在尝试在 sbt 中下载 Hive jar,但出现以下错误。有没有人遇到过这个?请让我知道我需要下载的正确配置单元版本是什么,以便创建一个 class 扩展 GenericUDF class
这是我的 SBT 文件
name := "Test" version := "0.1" scalaVersion := "2.11.8" libraryDependencies += "org.apache.hive" % "hive-exec" % "1.2.1"
下面是我收到的错误信息
[error] at java.lang.Thread.run(Thread.java:748)
[error] (*:update) sbt.librarymanagement.ResolveException: unresolved dependency: org.pentaho#pentaho-aggdesigner-algorithm;5.1.5-jhyde: not found
[error] (*:ssExtractDependencies) sbt.librarymanagement.ResolveException: unresolved dependency: org.pentaho#pentaho-aggdesigner-algorithm;5.1.5-jhyde: not found
添加 conjars 回购。它将下载所需的库。将以下行添加到您的 build.sbt 文件中:
libraryDependencies += "org.apache.hive" % "hive-exec" % "1.2.1"
libraryDependencies += "org.pentaho" % "pentaho-aggdesigner-algorithm" % "5.1.5-jhyde" % Test
resolvers += Resolver.mavenLocal
resolvers += "Cascading repo" at "http://conjars.org/repo"
如果在使用 gradle 时发生同样的错误,将其添加到 build.gradle
文件的 repositories
部分为我解决了这个问题:
maven { url "https://public.nexus.pentaho.org/repository/proxy-public-3rd-party-release" }