Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

hadoop-core and hive-exec versions for UDF

avatar
Rising Star

Hello,

 

How should I choose hadoop-core and hive-exec jar versions for Impala UDFs? What should they match in the target CDH installation?

 

For instance, hive-exec is now at version 3.1.0 but most examples I've seen use 0.13.x...

 

Thank you,

Gerasimos

1 ACCEPTED SOLUTION

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
4 REPLIES 4

avatar
I'd recommend using the versions matching your CDH installation.

avatar
Rising Star

That is what I am asking. I have CDH 5.11, which reports:

 

hadoop-2.6.0+cdh5.11.2+2429

- hive-1.1.0+cdh5.11.2+1082

 

Does this mean that I have to use hadoop-core-2.6.0 ? There isn't such version, as the max is hadoop-core-1.2.1.

 

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Rising Star

Thank you,

 

I added cloudera repo to my gradle configuration and builds and functions run from Impala without problems.