Support Questions

Find answers, ask questions, and share your expertise

Download hive class library "hive-1.1.0-cdh5.7.0-src.tar.gz"

avatar
Explorer

Hello Everyone, 

 

I want to use hive class library name "org.apache.hadoop.hive.ql.udf". Could you tell me where I can download it?

 

Regards,

4 REPLIES 4

avatar
Guru

@mala_etl  It is present by default in hive in hive-exec*.java

avatar
Explorer

Hi, you mean it exists in hive CDH source?

avatar
Master Collaborator

yes, It exists in the hive CDH source.

org.apache.hadoop.hive.ql.udf package is part of hive-exec.jar. PFB
[hive@node3 lib]$ /usr/jdk64/jdk1.8.0_112/bin/jar -tvf hive-exec.jar | grep "org.apache.hadoop.hive.ql.udf" | wc -l
660



avatar
Master Collaborator

Hi @mala_etl ,

The Corresponding mentioned jar, you can download from the below maven repository.

https://mvnrepository.com/artifact/org.apache.hive/hive-exec/1.1.0-cdh5.7.0

For other versions - 

https://mvnrepository.com/artifact/org.apache.hive/hive-exec?repo=cloudera