Support Questions

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

how can I know where is my hive jars and how to install new jars? CDH 6.3.2

avatar
Rising Star

I'm getting this error.

 

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask. Unable to load UDF class: java.lang.ClassNotFoundException: HiveUDF.Encrypt
Please ensure that the JAR file containing this class has been properly installed in the auxiliary directory or was added with ADD JAR command.

 

-I want to add JAR and also where can I find the other hive jars?

1 REPLY 1

avatar
Master Collaborator

@Mondi 

Please refer below document which explains steps to configure jar for UDFs. 

You can configure the cluster in one of several ways to find the JAR containing your UDF code, and then you register the UDF in Hive.

https://docs.cloudera.com/documentation/enterprise/latest/topics/cm_mc_hive_udf.html#xd_583c10bfdbd3...

 

Hope this helps,
Paras
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.