Skip to main content
mala_etl
Silver ⭐️⭐️⭐️
Jan 21, 2022 3:57 AM UTC
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 ⭐️⭐️⭐️
Jan 21, 2022 12:17 PM UTC

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

Translate
mala_etl
mala_etlAuthor
Silver ⭐️⭐️⭐️
Jan 23, 2022 7:44 AM UTC

Hi, you mean it exists in hive CDH source?

Translate
ggangadharan
Gold ⭐️
Gold ⭐️
Jan 25, 2022 6:39 AM UTC

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 ⭐️
Jan 21, 2022 12:35 PM UTC

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