UDF函数集成到Hive编译过程中遇到的问题

 

在maven 项目中  打包时出现的错误

Failed to execute goal on project hive-exec: 
Could not resolve dependencies for project org.apache.hive:hive-exec:jar:2.3.0: 
Could not find 
artifact org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde
 
in alimaven (http://maven.aliyun.com/nexus/content/groups/public/) -> [Help 1] 

UDF函数DependencyResolutionExcepyion

 

可以看到提示错误是因为没有jar包

解决的方法  进入这个网站下载对应的jar包

下载之后把这个jar包放入 你maven的本地仓库中

D:\Maven\LocalWareHouse\org\pentaho\pentaho-aggdesigner-algorithm\5.1.5-jhyde 

https://public.nexus.pentaho.org/content/groups/omni/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/

UDF函数DependencyResolutionExcepyion

相关文章: