spark-user mailing list archives

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

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:
Sent from the Apache Spark User List mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message