Skip to main content
mala_etl
Silver ⭐️⭐️⭐️
January 21, 2022
Question

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

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

asish
Gold ⭐️⭐️⭐️
Gold ⭐️⭐️⭐️
January 21, 2022

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

Translate
mala_etl
mala_etlAuthor
Silver ⭐️⭐️⭐️
January 23, 2022

Hi, you mean it exists in hive CDH source?

Translate
ggangadharan
Gold ⭐️
Gold ⭐️
January 25, 2022

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



Translate
ggangadharan
Gold ⭐️
Gold ⭐️
January 21, 2022

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


Translate