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
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
Failed with exception java.io.IOException:org.apache.hadoop.hive.ql.metadata.HiveException: Unable to execute method public org.apache.hadoop.io.Text