Hi,

One completely difference possible approach is, you can run your app inside
of Zeppelin. Something like

%dep
z.load("your.org:your-artifact:1.0.0")

%spark
import your.org.your-artifact._
val app = new YourApp(sc)

If it is not the case your app can be used, yes we need some patch for
binding already running remote interpreter. (currently remote interpreter
can be run manually, but zeppelin server has no option to bind to it)

Thanks,
moon

On Mon, May 18, 2015 at 3:06 PM Harsh Rathi <[email protected]>
wrote:

> Hi,
>
> Yes.
> Since my app is part of system and I want to provide Zeppelin as an
> additional feature running Custom Interpreter. This custom interpreter will
> use my app's SparkContext.
>
> I looked more into the docs and came to know about Remote Interpreter.
> So, from my app if I run Zeppelin Server and a Remote Custom Interpreter
> having my Spark Context, then, attach this interpreter to Zeppelin Server.
> I guess that would be sufficient for me.
>
> I scanned through all docs, but couldn't find a demo of remote
> interpreter. If you can provide me the steps (or commands) to do it, that
> will be very helpful.
>
> On Mon, May 18, 2015 at 10:56 AM, moon soo Lee <[email protected]> wrote:
>
>> Hi,
>>
>> You mean share SparkContext between Zeppelin and your app, right?
>> If they're running in different JVM, i don't think there're good way of
>> share.
>>
>> Can i ask why do you want to share SparkContext?
>>
>> Best,
>> moon
>>
>> On Mon, May 18, 2015 at 2:00 PM Harsh Rathi <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> Anything in this regard ?
>>>
>>>
>>> Harsh Rathi
>>>
>>>
>>> On Fri, May 15, 2015 at 6:32 PM, Harsh Rathi <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am new to Zeppelin.
>>>>
>>>> I want to share Spark Context with Zeppelin.
>>>> I want to invoke zeppelin and pass Spark Context to it so that whenever
>>>> my app is started, zeppelin gets started and my spark context is used by
>>>> Zeppelin. Is there any way to do it ?
>>>>
>>>> Harsh Rathi
>>>>
>>>>
>>>
>

Reply via email to