Re: Inquiry about how spark session is shared in apache zeppelin

2022-06-28 Thread Chenyang Zhang
Thanks for the response. I am wondering how you achieve that because I want to implement such mechanism in my project. Are there any source codes I could refer to? From: Jeff Zhang Date: Monday, June 27, 2022 at 7:30 PM To: users Subject: Re: Inquiry about how spark session is shared in apache

Re: How to auto run paragraphs upon notebook load?

2022-06-28 Thread Jeff Zhang
Right, there's no such auto-run mechanism, you have to call this rest api by yourself. On Tue, Jun 28, 2022 at 3:53 PM Vishal Rao wrote: > Thank you, yes, I saw this page too... There's also API to run individual > paragraphs sync or async... > > I still don't know how to *automatically* trigge

Re: How to auto run paragraphs upon notebook load?

2022-06-28 Thread Vishal Rao
Thank you, yes, I saw this page too... There's also API to run individual paragraphs sync or async... I still don't know how to *automatically* trigger one or more paragraphs - when a notebook loads up. I guess it will have to be some external trigger/callback if no such mechanism available withi

Re: How to auto run paragraphs upon notebook load?

2022-06-28 Thread Jeff Zhang
You can call run all paragraphs rest api for your scenario. https://zeppelin.apache.org/docs/0.10.1/usage/rest_api/notebook.html#run-all-paragraphs On Tue, Jun 28, 2022 at 3:16 PM Vishal Rao wrote: > Pardon me, I should have probably put in more effort in coming up with a > usage scenario :-) >

Re: How to auto run paragraphs upon notebook load?

2022-06-28 Thread Vishal Rao
Pardon me, I should have probably put in more effort in coming up with a usage scenario :-) Say we have a notebook with multiple (many) paragraphs and some of these generate/display visuals (charts etc) using data pulled based on the authenticated user's ID. I'd like to generate and display these

Re: How to auto run paragraphs upon notebook load?

2022-06-28 Thread Vishal Rao
A notebook with multiple paragraphs and would like to reduce the number of paragraphs a user has to manually run? On Tue, 28 Jun 2022 at 11:31, Jeff Zhang wrote: > What is your usage scenario? Why do you want to run paragraphs when the > notebook is loaded instead of triggering it manually. > >