Re: Sharing RDDS across applications and users

2016-10-28 Thread vincent gromakowski
Bad idea. No caching, cluster over consumption... Have a look on instantiating a custom thriftserver on temp tables with fair scheduler to allow concurrent SQL requests. It's not a public API but you can find some examples. Le 28 oct. 2016 11:12 AM, "Mich Talebzadeh" a écrit : > Hi, > > I think

Re: Sharing RDDS across applications and users

2016-10-28 Thread Mich Talebzadeh
Hi, I think tempTable is private to the session that creates it. In Hive temp tables created by "CREATE TEMPORARY TABLE" are all private to the session. Spark is no different. The alternative may be everyone creates tempTable from the same DF? HTH Dr Mich Talebzadeh LinkedIn * https://www.l

Re: Sharing RDDS across applications and users

2016-10-28 Thread Mich Talebzadeh
Thanks all for your advice. As I understand in layman's term if I had two applications running successfully where app 2 was dependent on app 1 I would finish app 1, store the results in HDFS and the app 2 starts reading the results from HDFS and work on it. Using Alluxio or others replaces HDFS

No 'Access-Control-Allow-Origin' header

2016-10-28 Thread afancy
Hi all, I get json in the angular environment, but got the 'Access-Control-Allow-Origin' exception. See the following. How to solve this issue? Thanks for your advice! /afancy %angular readJson = function (url) { $.getJSON(url, function(data){ console.log(data.body); }); } r