Thanks for your insights, Deenar. I think this is really helpful to users
who want to run Zeppelin as a service.

The caching issue we experienced seems to be a Spark bug, because I see
some inconsistent states through the SparkUI, but thanks for pointing out
the potential reasons.

I am still interested in for the people who run Zeppelin as a service,
whether you have experienced bugs or memory leaks, and how did you deal
with these.

Thanks!

Zhong

On Tue, Mar 8, 2016 at 8:17 AM, Deenar Toraskar <[email protected]>
wrote:

> 1) You should turn dynamic allocation on see
> http://spark.apache.org/docs/latest/configuration.html#dynamic-allocation
> to maximise utilisation of your cluster resources. This might be a reason
> you are seeing cached data disappearing.
> 2) If other processes cache data and the amount of data cached is larger
> than your cluster memory, Spark will evict some cached data from memory.
> 3) If you are using Kerberos authentication, you need a process that
> renews tickets.
>
> Deenar
>
> On 8 March 2016 at 01:35, Zhong Wang <[email protected]> wrote:
>
>> Hi zeppelin-users,
>>
>> Because Zeppelin relies on a long running SparkContext, it is quite
>> important to make it stable to improve availability. From my experience, I
>> run into a couple of issues if I run a SparkContext for several days,
>> including:
>> --
>> 1. EventLoggong doest work due to HDFS lease issue. Similar to this:
>> https://mail-archives.apache.org/mod_mbox/spark-user/201507.mbox/%3ccae6kwsp_c00gksmnx0obu5aouxphdjs-syqywt-jfi3psvc...@mail.gmail.com%3E
>> 2. SparkUI is getting slower due to large number of history jobs
>> 3. Cached data is gone mystically
>>
>> They may not be Zeppelin issues, but I would like to hear the problems
>> you run into, and your experience of how to deal with maintaining a long
>> running SparkContext.
>>
>> I know that we can do some cleanups periodically by restarting the spark
>> interpreter, but I am wondering whether there are better ways.
>>
>> Thanks!
>>
>> Zhong
>>
>
>

Reply via email to