Re: Inefficient third party JS library integration, e.g. plotly

2018-08-14 Thread Jeff Zhang
Do you know how jupyter handle that ? And bokeh would load js from CDN so it doesn't have the issue you mentioned, maybe plotly could use similar approach. https://bokeh.pydata.org/en/latest/ andreas.we...@gmail.com 于2018年8月14日周二 下午2:34写道: > We are using plotly for charts quite often (plotly p

Inefficient third party JS library integration, e.g. plotly

2018-08-14 Thread Partridge, Lucas (GE Aviation)
I’m pretty rusty on this as it’s several years since I tried it but I remember having a similar problem when trying to use Google Maps inside Zeppelin. Unfortunately I can’t find the code I used but from memory, my solution was to try invoking the library, and if, the library object didn’t exis

Re: Inefficient third party JS library integration, e.g. plotly

2018-08-14 Thread Jeff Zhang
Here's the code of how bokeh loading js asynchronously, hope it is useful for you. https://github.com/bokeh/bokeh/blob/master/bokeh/core/_templates/autoload_js.js Partridge, Lucas (GE Aviation) 于2018年8月14日周二 下午4:21写道: > I’m pretty rusty on this as it’s several years since I tried it but I > rem

[DISCUSS] ZEPPELIN-2619. Save note in [Title].zpln instead of [NOTEID]/note.json

2018-08-14 Thread Partridge, Lucas (GE Aviation)
I agree you’re inviting consistency issues if you maintained a separate note id-to-note name mapping file. But I’m still not comfortable with note ids in the name of the notebook itself. Those names would look ugly if you shared your notebooks on github for example. You don’t see Jupyter note

"GC overhead limit exceeded" while running multiple jobs

2018-08-14 Thread Chintan Patel
Hello, I'm running Zeppelin in yarn-client mode. I'm using SQL interpreter and pyspark interpreter to run some query and python jobs in shared mode per note. Sometimes when I run multiple jobs at same time. It's using lot's of CPU. I try to check the problem and I found that It's because of It cre

Re: [DISCUSS] ZEPPELIN-2619. Save note in [Title].zpln instead of [NOTEID]/note.json

2018-08-14 Thread Szuromi Tamás
Hey guys, Great idea. FYI I created a feature request to Gitlab to render Zeppelin notebooks after the issue will be finalized and you will change to .zpln. https://gitlab.com/gitlab-org/gitlab-ce/issues/50244 Partridge, Lucas (GE Aviation) ezt írta (időpont: 2018. aug. 14., K, 10:29): > I agre

Re: [DISCUSS] ZEPPELIN-2619. Save note in [Title].zpln instead of [NOTEID]/note.json

2018-08-14 Thread Jeff Zhang
>>> But I’m still not comfortable with note ids in the name of the notebook itself. Those names would look ugly if you shared your notebooks on github for example. You don’t see Jupyter notebooks with names like that. If you have to keep the note ids with the notebooks could you not simply put th

Re: Inefficient third party JS library integration, e.g. plotly

2018-08-14 Thread andreas . weise
Thanks for your answers, but as long as custom JS code resides in html->body (which is the case for any code loaded through notebooks) there is no guarenteed loading sequence when using the default HTML outputs of libs like plotly, which assume that all of the library code is already loaded.