Which version of Spark SQL are you using? Several issues with custom hive UDFs have been fixed in 1.1.
On Mon, Aug 25, 2014 at 9:57 AM, S Malligarjunan < smalligarju...@yahoo.com.invalid> wrote: > Hello All, > > I have added a jar from S3 instance into classpath, i have tried following > options > 1. sc.addJar("s3n://mybucket/lib/myUDF.jar") > 2. hiveContext.sparkContext.addJar("s3n://mybucket/lib/myUDF.jar") > 3. ./bin/spark-shell --jars s3n://mybucket/lib/myUDF.jar > > I am getting ClassNotException when trying to create a temporary function. > > What would be the issue here? > > Thanks and Regards, > Sankar S. > >