Re: Is it possible to return javascript to frontend and run it in frontend

2017-02-28 Thread Ahyoung Ryu
Hi Canan, I think you can do it by writing your own "SPELL" type of Helium package. You can get more information about it in https://zeppelin.apache.org/docs/0.8.0-SNAPSHOT/development/writingzeppelinspell.html . Note that currently it's only available in development version. To test this, you nee

Re: Can I call sub-function in Zeppelin?

2017-02-28 Thread moon soo Lee
Hi Jin, Zeppelin provides interface that each interpreter implement 'completion()' method. For example, SparkInterpreter implement 'completion()' [1] and supposed to return available list of method when user enter ctrl+. after dot (e.g. sc. and ctrl+.) If it does not work for you, please feel fre

Zeppelin - Executors Issue

2017-02-28 Thread Gilad Landau
Hello Anybody else encountered executors issues for the Zeppelin job on spark? Although the interpreter is set with spark executors num set to 6, I only actually get 2 executors from Yarn. I see that the spark-submit is sent with the right amount of executors. This behavior doesn’t occur with ot

pyspark run a specific paragraph

2017-02-28 Thread Jonathan Greenleaf
Haven't had luck with documentation. What is the syntax to run a specific paragraph using the pyspark interpreter? I'm using Version 0.8.0-SNAPSHOT. %pyspark z.run('20170227-213250_876580864') .. AttributeError: 'PyZeppelinContext' object has no attribute 'run' Thank you Jonathan Greenleaf

Re: Zeppelin - Executors Issue

2017-02-28 Thread Hyung Sung Shim
hi. Can you try to set *spark.executor.instances* property on your spark interpreter ? 2017-02-28 21:26 GMT+09:00 Gilad Landau : > Hello > > > > Anybody else encountered executors issues for the Zeppelin job on spark? > > Although the interpreter is set with spark executors num set to 6, I onl

Running all paragraphs with dynamic form's value parameters

2017-02-28 Thread Sofiane Cherchalli
The API allows to run a paragraph with dynamic form's value. example: curl -sL -X POST -d "{'form_field': 'value'}" http://localhost:8080/api/notebook/run// Is it possible to run all paragraphs with dynamic form's value? For instance: curl -sL -X POST -d "{'form_field': 'value'}" http://localhost

Re: pyspark run a specific paragraph

2017-02-28 Thread Hyung Sung Shim
hi Jonathan. Currently pyspark interpreter does't have z.run() functionality but spark interpreter does. 2017년 3월 1일 (수) 오전 1:35, Jonathan Greenleaf 님이 작성: Haven't had luck with documentation. What is the syntax to run a specific paragraph using the pyspark interpreter? I'm using Version 0.8.

Re: Running all paragraphs with dynamic form's value parameters

2017-02-28 Thread Sofiane Cherchalli
After playing around running notes and paragraphs, it seems passing dynamic form's values works only with paragraphs but not with a notes. It would be nice to run a note with dynamic form's value and allowing paragraphs to override them. On Tue, Feb 28, 2017 at 8:33 PM, Sofiane Cherchalli wrote:

Re: Is it possible to return javascript to frontend and run it in frontend

2017-02-28 Thread canan chen
Thanks Ahyoung, Is there any workaround like using %angular or %html to achieve that ? Developing a new type of Helium package might be too complicated for me. On Tue, Feb 28, 2017 at 5:17 PM Ahyoung Ryu wrote: > Hi Canan, > > I think you can do it by writing your own "SPELL" type of Helium pa

Re: Is it possible to return javascript to frontend and run it in frontend

2017-02-28 Thread Ahyoung Ryu
I see. Then have you read these pages? https://zeppelin.apache.org/docs/latest/displaysystem/front-end-angular.html https://zeppelin.apache.org/docs/latest/displaysystem/back-end-angular.html On Wed, Mar 1, 2017 at 12:53 PM, canan chen wrote: > > Thanks Ahyoung, Is there any workaround like us