z.run is a async call, It just send the message to ask zeppelin to run note 
instead of waiting until is finished.




Best Regard,
Jeff Zhang


From: Richard Xin <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, June 27, 2017 at 7:26 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: can Zeppelin runParagraph from different notebooks?

Thanks Jeff,
It worked in some cases, However it seems it has following issues:
example:
in Note A I have following paragraph:
val message = "Hello Zeppelin"
println("Note 1 = " + message)


Test Case 1=======

in Note B:
Paragraph 1:
%spark
z.run("2CN3UDXMZ", "20170612-231131_191205958")
// works but it does not print out message "Note 1 = " ...

Paragraph 2:
println("P2: message == " + message)
// Works OK

Test Case 2=======
in Note B:
Paragraph 1:
%spark
z.run("2CN3UDXMZ", "20170612-231131_191205958")
println("Note2: " + message)
//<console>:316: error: not found: value message
// newly defined variables can not be used in the same paragraph of z.run?


My question is, is the behavior I described expected? Or did I missing 
something obvious?

Thanks,
RichardX



On Monday, June 26, 2017, 3:23:52 PM PDT, Jianfeng (Jeff) Zhang 
<[email protected]<mailto:[email protected]>> wrote:



z.run


Best Regard,
Jeff Zhang


From: Richard Xin <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, June 27, 2017 at 6:04 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: can Zeppelin runParagraph from different notebooks?

%spark
run("2CN3UDXMZ", "20170609-233658_1498522009");  (which is spark script written 
in scala)

<console>:288: error: not found: value run
run("2CN3UDXMZ", "20170609-233658_1498522009");
^

Zeppelin Version 0.7.1
Did I miss anything?
Thanks,



On Tuesday, June 13, 2017, 8:48:54 PM PDT, Jianfeng (Jeff) Zhang 
<[email protected]<mailto:[email protected]>> wrote:



Please use 0.7.x


Best Regard,
Jeff Zhang


From: Richard Xin <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, June 14, 2017 at 8:48 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: can Zeppelin runParagraph from different notebooks?

it doesn't work, which version you are using?


On Tuesday, June 13, 2017, 5:41:06 PM PDT, moon soo Lee 
<[email protected]<mailto:[email protected]>> wrote:


In spark interpreter, you can try

%spark
run(NOTE_ID, PARAGRAPH_ID)

Hope this helps.

Thanks,
moon

On Mon, Jun 12, 2017 at 9:52 AM Richard Xin 
<[email protected]<mailto:[email protected]>> wrote:
Angular (frontend 
API)<http://zeppelin.apache.org/docs/0.6.0/displaysystem/front-end-angular.html#run-paragraph>

<http://zeppelin.apache.org/docs/0.6.0/displaysystem/front-end-angular.html#run-paragraph>





Angular (frontend API)

The Apache Software Foundation

Angular (frontend API)





This method doesn't seem to support running paragraphs from different 
notebooks, did I miss anything?

Reply via email to