Each application define what kind of resource the application requires [1]
(e.g. 'Clock' example requires java.util.Date [2]).

Once interpreter pushes required resource into ResourcePool, then Zeppelin
display buttons for available application in paragraph.

SparkInterpreter automatically pushes last evaluation into ResourcePool.
So if you just run '%spark new java.util.Date` then SparkInterpreter pushes
a Date object into ResourcePool and show button to run 'Clock'.

Thanks,
moon

[1]
http://zeppelin.apache.org/docs/0.8.0-SNAPSHOT/development/writingzeppelinapplication.html#resources
[2]
https://github.com/apache/zeppelin/blob/master/zeppelin-examples/zeppelin-example-clock/zeppelin-example-clock.json#L23



On Sat, Mar 11, 2017 at 12:45 AM Andreas Weise <andreas.we...@gmail.com>
wrote:

> Thanks. After building with -Phelium-dev I was able to add dev interpreter.
>
> One follow up question:
> Now after running a helium application (e.g. Clock in zeppelin-examples)
> via dev mode, I'm trying to figure out, how a helium application is started
> without %dev interpreter.
>
> While for Helium Visualizations I find addtional chart buttons, there is
> nothing similar available for Helium Applications. Of course I find it
> listed on the /helium Page, where I can enable/disable it. If enabled, I
> can not see, how to actually use the application.
>
> Thanks.
> Andreas
>
>
> ---------- Forwarded message ----------
> From: moon soo Lee <m...@apache.org>
> To: users@zeppelin.apache.org
> Cc:
> Bcc:
> Date: Sat, 11 Mar 2017 01:31:52 +0000
> Subject: Re: Zeppelin %dev Interpreter
> Have you tried add -Phelium-dev profile in your maven build command?
>
> Thanks,
> moon
>
> On Fri, Mar 10, 2017 at 12:11 PM Andreas Weise <andreas.we...@gmail.com>
> wrote:
>
> Hi,
>
> various documentations describe the usage of %dev interpreter, e.g. when
> developing Helium Applications.
>
> https://zeppelin.apache.org/docs/0.7.0/development/writingzeppelinapplication.html
>
> I'm wondering how the %dev Interpreter gets added to zeppelin a server.
>
> I already tried starting zeppelin as described here:
>
> https://zeppelin.apache.org/docs/0.7.0/development/howtocontribute.html#run-zeppelin-server-in-development-mode
>
>  But without luck. Same for starting an zeppelin-web instance on
> http://localhost:9000
>
> Any advice.
>
> Thanks in advance.
> Andreas
>
>
>
>

Reply via email to