The registered table is stored within the spark context itself.  To have the 
table available for the thrift server to get access to, you can save the sc 
table into the Hive context so that way the Thrift server process can see the 
table.  If you are using derby as your metastore, then the thrift server should 
be accessing this as you would want to utilize the same hive configuration 
(i.e. hive-site.xml).  You may want to migrate your metastore to MySQL or 
Postgres as it will be handle concurrency better than derby.

HTH!
Denny


On September 17, 2014 at 21:47:50, Addanki, Santosh Kumar 
(santosh.kumar.adda...@sap.com) wrote:

Hi,

 

We built out SPARK 1.1.0 Version with MVN using

mvn –Pyarn –Phadoop-2.4 –Dhadoop.version=2.4.0 –Phive clean package

 

 

And the Thrift Server has been configured to use the Hive Meta Store.

 

When a schemaRDD is registered as table where does the metadata of this table 
get stored. Can it be stored in the configured hive meta-store or?

 

Also if the thrift Server is not configured to use the HIVE metastore its using 
its own default (probably derby) metastore.So would the table metainfo be 
stored in this meta-store.

 

Best Regards
Santosh


  
 

 

Reply via email to