spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vdiwakar.malladi" <vdiwakar.mall...@gmail.com>
Subject loading, querying schemaRDD using SparkSQL
Date Tue, 04 Nov 2014 11:18:46 GMT
Hi,

There is a need in my application to query the loaded data into sparkcontext 
(I mean loaded SchemaRDD from JSON file(s)). For this purpose, I created the
SchemaRDD and call registerTempTable method in a standalone program and
submited the application using spark-submit command.

Then I have a web application from which I used Spark SQL to query the same.
But I'm getting 'Table Not Found' error.

So, my question is, is it possible to load the data from one context and
query from other? If not, can any one advice me on this.

Thanks in advance.



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/loading-querying-schemaRDD-using-SparkSQL-tp18052.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message