You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by ch...@yahoo.com on 2016/07/27 04:23:28 UTC

Querying an interpreter and retrieving the results

Dear community,


Is there a way / project to extract the results from an interpreter (let's say elasticsearch) and use it in another interpreter (lets say spark?)Would be nice to query one interpreter, and then create a dataframe or hive table.If there is no way, would it be feasible that I manually extend either interpreter to drop the results, which approach do you recommend? Thanks,Chris Fred.-

  

Re: Querying an interpreter and retrieving the results

Posted by ch...@yahoo.com.
Thanks, this is exactly what I needed!Will def. try out. 

    On Thursday, July 28, 2016 2:43 PM, moon soo Lee <mo...@apache.org> wrote:
 

 Hi,
You can use ResourcePool to pass result to another interpreter.0.7.0-SNAPSHOT, automatically put all table type of result into the resource pool. (interpreter can manually put any object into resource pool)And another interpreter can access the data.
I have create an example. https://www.zeppelinhub.com/viewer/notebooks/bm90ZTovL21vb24vTWFjQm9vay82NzcyNjU0NTI3YTY0YTk1YWE4NDhkMGU2Y2QzYTUzMS9ub3RlLmpzb24
Hope this helps.
Thanks,moon

On Wed, Jul 27, 2016 at 1:26 PM <ch...@yahoo.com> wrote:

Dear community,


Is there a way / project to extract the results from an interpreter (let's say elasticsearch) and use it in another interpreter (lets say spark?)Would be nice to query one interpreter, and then create a dataframe or hive table.If there is no way, would it be feasible that I manually extend either interpreter to drop the results, which approach do you recommend? Thanks,Chris Fred.-

   


  

Re: Querying an interpreter and retrieving the results

Posted by moon soo Lee <mo...@apache.org>.
Hi,

You can use ResourcePool to pass result to another interpreter.
0.7.0-SNAPSHOT, automatically put all table type of result into the
resource pool. (interpreter can manually put any object into resource pool)
And another interpreter can access the data.

I have create an example.

https://www.zeppelinhub.com/viewer/notebooks/bm90ZTovL21vb24vTWFjQm9vay82NzcyNjU0NTI3YTY0YTk1YWE4NDhkMGU2Y2QzYTUzMS9ub3RlLmpzb24

Hope this helps.

Thanks,
moon


On Wed, Jul 27, 2016 at 1:26 PM <ch...@yahoo.com> wrote:

> Dear community,
>
>
> Is there a way / project to extract the results from an interpreter (let's
> say elasticsearch) and use it in another interpreter (lets say spark?)
> Would be nice to query one interpreter, and then create a dataframe or
> hive table.
> If there is no way, would it be feasible that I manually extend either
> interpreter to drop the results, which approach do you recommend?
>
> Thanks,
> Chris Fred.-
>
>
>