maven 添加hive-exec后出现错误

创建maven工程,在pom中添加hive-exec来创建UDF,但是在pom中添加下面引用后出错:


org.apache.hive
hive-exec
0.14.0


错误:

Multiple markers at this line
- Missing artifact org.apache.calcite:calcite-core:jar:0.9.2-incubating-SNAPSHOT
- Missing artifact org.apache.calcite:calcite-avatica:jar:0.9.2-incubating-SNAPSHOT


解决方法是再添加两个引用

 
            org.apache.hive
            hive-exec
            0.14.0
        
        
            org.apache.calcite
            calcite-core
            0.9.2-incubating
        
        
            org.apache.calcite
            calcite-avatica
            0.9.2-incubating
        

参考资料:

http://stackoverflow.com/questions/27710049/hive-0-14-udf-maven-project-missing-dependencies

你可能感兴趣的:(*JAVA,Hive)