Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

hive add udf jar and dependency jar using beeline on master success but execution fail with errorudf dependency class not found

hive add udf jar and dependency jar using beeline on master success but execution fail with errorudf dependency class not found

New Contributor

Hi
I m using below mentioned software version:

Hadoop 2.6.1 and

Beeline version 1.2.1000.2.6.1.0-129 by Apache Hive

Hive 1.2.1000.2.6.1.0-129


I have created a udf in hive which is performing some custom operation.
I am adding the jar in hive using hdfs as source and it executed successfully without any error.
When I am executing the udf using the hive. It is giving me error class not found.
Note: My udf also uses some additional dependency. So, I have add three jars one udf and two dependency jar

Error:

Failed with exception java.io.IOException:org.apache.hadoop.hive.ql.metadata.HiveException: Unable to execute method public org.apache.hadoop.io.Text