How to add jar with SparkSQL HiveContext?

2014-06-17 Thread Earthson
I have a problem with add jar command
hql(add jar /.../xxx.jar)
Error:
Exception in thread main java.lang.AssertionError: assertion failed: No
plan for AddJar ...
How could I do this job with HiveContext, I can't find any api to do it.
Does SparkSQL with Hive support UDF/UDAF?



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/How-to-add-jar-with-SparkSQL-HiveContext-tp7713.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

Re: How to add jar with SparkSQL HiveContext?

2014-06-17 Thread Michael Armbrust
Can you try this in master?  You are likely running into SPARK-2128
https://issues.apache.org/jira/browse/SPARK-2128.

Michael


On Mon, Jun 16, 2014 at 11:41 PM, Earthson earthson...@gmail.com wrote:

 I have a problem with add jar command

 hql(add jar /.../xxx.jar)

 Error:

 Exception in thread main java.lang.AssertionError: assertion failed: No 
 plan for AddJar ...

 How could I do this job with HiveContext, I can't find any api to do it.
 Does SparkSQL with Hive support UDF/UDAF?
 --
 View this message in context: How to add jar with SparkSQL HiveContext?
 http://apache-spark-user-list.1001560.n3.nabble.com/How-to-add-jar-with-SparkSQL-HiveContext-tp7713.html
 Sent from the Apache Spark User List mailing list archive
 http://apache-spark-user-list.1001560.n3.nabble.com/ at Nabble.com.