can Zeppelin runParagraph from different notebooks?

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

can Zeppelin runParagraph from different notebooks?

Richard Xin



This method doesn't seem to support running paragraphs from different notebooks, did I miss anything? 
Reply | Threaded
Open this post in threaded view
|

Re: can Zeppelin runParagraph from different notebooks?

moon
Administrator
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 <[hidden email]> wrote:



This method doesn't seem to support running paragraphs from different notebooks, did I miss anything? 
Reply | Threaded
Open this post in threaded view
|

Re: can Zeppelin runParagraph from different notebooks?

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


On Tuesday, June 13, 2017, 5:41:06 PM PDT, moon soo Lee <[hidden email]> 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 <[hidden email]> wrote:



This method doesn't seem to support running paragraphs from different notebooks, did I miss anything? 
Reply | Threaded
Open this post in threaded view
|

Re: can Zeppelin runParagraph from different notebooks?

Jianfeng (Jeff) Zhang

Please use 0.7.x


Best Regard,
Jeff Zhang


From: Richard Xin <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Wednesday, June 14, 2017 at 8:48 AM
To: "[hidden email]" <[hidden email]>, "[hidden email]" <[hidden email]>
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 <[hidden email]> 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 <[hidden email]> wrote:



This method doesn't seem to support running paragraphs from different notebooks, did I miss anything? 
Reply | Threaded
Open this post in threaded view
|

Re: can Zeppelin runParagraph from different notebooks?

Richard Xin
%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 <[hidden email]> wrote:



Please use 0.7.x


Best Regard,
Jeff Zhang


From: Richard Xin <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Wednesday, June 14, 2017 at 8:48 AM
To: "[hidden email]" <[hidden email]>, "[hidden email]" <[hidden email]>
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 <[hidden email]> 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 <[hidden email]> wrote:



This method doesn't seem to support running paragraphs from different notebooks, did I miss anything? 
Reply | Threaded
Open this post in threaded view
|

Re: can Zeppelin runParagraph from different notebooks?

Jianfeng (Jeff) Zhang

z.run


Best Regard,
Jeff Zhang


From: Richard Xin <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Tuesday, June 27, 2017 at 6:04 AM
To: "[hidden email]" <[hidden email]>, "[hidden email]" <[hidden email]>
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 <[hidden email]> wrote:



Please use 0.7.x


Best Regard,
Jeff Zhang


From: Richard Xin <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Wednesday, June 14, 2017 at 8:48 AM
To: "[hidden email]" <[hidden email]>, "[hidden email]" <[hidden email]>
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 <[hidden email]> 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 <[hidden email]> wrote:



This method doesn't seem to support running paragraphs from different notebooks, did I miss anything? 
Reply | Threaded
Open this post in threaded view
|

Re: can Zeppelin runParagraph from different notebooks?

Richard Xin
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 <[hidden email]> wrote:



z.run


Best Regard,
Jeff Zhang


From: Richard Xin <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Tuesday, June 27, 2017 at 6:04 AM
To: "[hidden email]" <[hidden email]>, "[hidden email]" <[hidden email]>
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 <[hidden email]> wrote:



Please use 0.7.x


Best Regard,
Jeff Zhang


From: Richard Xin <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Wednesday, June 14, 2017 at 8:48 AM
To: "[hidden email]" <[hidden email]>, "[hidden email]" <[hidden email]>
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 <[hidden email]> 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 <[hidden email]> wrote:



This method doesn't seem to support running paragraphs from different notebooks, did I miss anything? 
Reply | Threaded
Open this post in threaded view
|

Re: can Zeppelin runParagraph from different notebooks?

Jianfeng (Jeff) Zhang

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 <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Tuesday, June 27, 2017 at 7:26 AM
To: "[hidden email]" <[hidden email]>, "[hidden email]" <[hidden email]>
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 <[hidden email]> wrote:



z.run


Best Regard,
Jeff Zhang


From: Richard Xin <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Tuesday, June 27, 2017 at 6:04 AM
To: "[hidden email]" <[hidden email]>, "[hidden email]" <[hidden email]>
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 <[hidden email]> wrote:



Please use 0.7.x


Best Regard,
Jeff Zhang


From: Richard Xin <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Wednesday, June 14, 2017 at 8:48 AM
To: "[hidden email]" <[hidden email]>, "[hidden email]" <[hidden email]>
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 <[hidden email]> 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 <[hidden email]> wrote:



This method doesn't seem to support running paragraphs from different notebooks, did I miss anything? 
Reply | Threaded
Open this post in threaded view
|

Re: can Zeppelin runParagraph from different notebooks?

Richard Xin
ok, thanks for clarification.


On Monday, June 26, 2017, 6:13:16 PM PDT, Jianfeng (Jeff) Zhang <[hidden email]> wrote:



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 <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Tuesday, June 27, 2017 at 7:26 AM
To: "[hidden email]" <[hidden email]>, "[hidden email]" <[hidden email]>
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 <[hidden email]> wrote:



z.run


Best Regard,
Jeff Zhang


From: Richard Xin <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Tuesday, June 27, 2017 at 6:04 AM
To: "[hidden email]" <[hidden email]>, "[hidden email]" <[hidden email]>
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 <[hidden email]> wrote:



Please use 0.7.x


Best Regard,
Jeff Zhang


From: Richard Xin <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Wednesday, June 14, 2017 at 8:48 AM
To: "[hidden email]" <[hidden email]>, "[hidden email]" <[hidden email]>
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 <[hidden email]> 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 <[hidden email]> wrote:



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