Re: Running all paragraphs with dynamic form's value parameters
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 Cherchalliwrote: > 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:8080/api/ > notebook/run/ > > I can't get it to work... Any hint? > > >
Re: pyspark run a specific paragraph
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.0-SNAPSHOT. %pyspark z.run('20170227-213250_876580864') .. AttributeError: 'PyZeppelinContext' object has no attribute 'run' Thank you Jonathan Greenleaf
Running all paragraphs with dynamic form's value parameters
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:8080/api/notebook/run/ I can't get it to work... Any hint?
Re: Zeppelin - Executors Issue
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 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 other > spark jobs, or with pyspark/sparkshell. > > > > Any idea? > > > > Gilad > > > >
pyspark run a specific paragraph
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
Zeppelin - Executors Issue
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 other spark jobs, or with pyspark/sparkshell. Any idea? Gilad
Re: Can I call sub-function in Zeppelin?
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 free to open a jira issue. Thanks, moon [1] https://github.com/apache/zeppelin/blob/v0.7.0/spark/src/main/java/org/apache/zeppelin/spark/SparkInterpreter.java#L1012 On Thu, Feb 23, 2017 at 5:50 PM Beth Leewrote: > Zeppelin supports auto-complete function in a notebook. > So I enter the ctrl+. in my notebook to use it. > But I can only show the lists which I typed it before. > > Is there any way to call sub-function using the auto-complete function in > python or spark etc.? > > (In case of python: When I enter the tab then I can show the sub-function > lists) > > Thanks, > Jin >
Re: Is it possible to return javascript to frontend and run it in frontend
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 need to build Zeppelin from source in master branch. Hope this helps. Thanks, Ahyoung On Mon, Feb 27, 2017 at 12:20 PM, canan chenwrote: > Hi, > > I'd like to return a piece of javascript code from my interpreter and run > it in frontend, is it possible and how can I do it ? Thanks >