Re: Status of new UI

2021-05-21 Thread Vladimir Prus
Hi Eric and Jeff,

thanks for the clarification - it's helpful. Sadly, I moved away from UI
back to backend engineering (and need to update the website), and my UI
colleagues are all using React. It is unlikely we can contribute anything
major.

On Fri, May 21, 2021 at 5:01 PM Eric Pugh 
wrote:

> I wanted to add my encouragement Vladimir….   A lot of these “data
> analytics/backend system” project suffer by not having enough front end
> passionate people.   I just checked out your website, and you lead with “UX
> Designer” ;-).  I suspect you could contribute a lot to Zeppelin!
>
> Eric
>
>
> On May 21, 2021, at 8:26 AM, Jeff Zhang  wrote:
>
> Hi Vladimir,
>
> I don't think the new UI is ready for production, the development has
> ceased for a while. For now most of the active contributors of Zeppelin are
> backend guys. We would be very appreciated if you or anyone else could
> help continue the development of new UI,
>
> Vladimir Prus  于2021年5月21日周五 下午6:30写道:
>
>> Hi,
>>
>> I see that Zeppelin has new in-development UI (available view "Try the
>> new Zeppelin" link).
>>
>> Is there any overview of its status? E.g. is it ready for users? And if
>> it's not, what is approximate timeline when it will be ready?
>>
>> I'm asking because I'm making some fixes (initially, locally), and I
>> wonder whether I should do it
>> in the current UI, or jump to the new one right away.
>>
>> Thanks,
>>
>> --
>> Vladimir Prus
>> http://vladimirprus.com
>>
>
>
> --
> Best Regards
>
> Jeff Zhang
>
>
> ___
> *Eric Pugh **| *Founder & CEO | OpenSource Connections, LLC | 434.466.1467
> | http://www.opensourceconnections.com | My Free/Busy
> 
> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed
> 
> This e-mail and all contents, including attachments, is considered to be
> Company Confidential unless explicitly stated otherwise, regardless
> of whether attachments are marked as such.
>
>

-- 
Vladimir Prus
http://vladimirprus.com


Re: Status of new UI

2021-05-21 Thread Eric Pugh
I wanted to add my encouragement Vladimir….   A lot of these “data 
analytics/backend system” project suffer by not having enough front end 
passionate people.   I just checked out your website, and you lead with “UX 
Designer” ;-).  I suspect you could contribute a lot to Zeppelin!

Eric


> On May 21, 2021, at 8:26 AM, Jeff Zhang  wrote:
> 
> Hi Vladimir,
> 
> I don't think the new UI is ready for production, the development has ceased 
> for a while. For now most of the active contributors of Zeppelin are backend 
> guys. We would be very appreciated if you or anyone else could help continue 
> the development of new UI,
> 
> Vladimir Prus mailto:vladimir.p...@gmail.com>> 
> 于2021年5月21日周五 下午6:30写道:
> Hi,
> 
> I see that Zeppelin has new in-development UI (available view "Try the new 
> Zeppelin" link). 
> 
> Is there any overview of its status? E.g. is it ready for users? And if it's 
> not, what is approximate timeline when it will be ready?
> 
> I'm asking because I'm making some fixes (initially, locally), and I wonder 
> whether I should do it
> in the current UI, or jump to the new one right away.
> 
> Thanks,
> 
> -- 
> Vladimir Prus
> http://vladimirprus.com 
> 
> -- 
> Best Regards
> 
> Jeff Zhang

___
Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | 
http://www.opensourceconnections.com  | 
My Free/Busy   
Co-Author: Apache Solr Enterprise Search Server, 3rd Ed 


This e-mail and all contents, including attachments, is considered to be 
Company Confidential unless explicitly stated otherwise, regardless of whether 
attachments are marked as such.



Re: Status of new UI

2021-05-21 Thread Jeff Zhang
Hi Vladimir,

I don't think the new UI is ready for production, the development has
ceased for a while. For now most of the active contributors of Zeppelin are
backend guys. We would be very appreciated if you or anyone else could help
continue the development of new UI,

Vladimir Prus  于2021年5月21日周五 下午6:30写道:

> Hi,
>
> I see that Zeppelin has new in-development UI (available view "Try the new
> Zeppelin" link).
>
> Is there any overview of its status? E.g. is it ready for users? And if
> it's not, what is approximate timeline when it will be ready?
>
> I'm asking because I'm making some fixes (initially, locally), and I
> wonder whether I should do it
> in the current UI, or jump to the new one right away.
>
> Thanks,
>
> --
> Vladimir Prus
> http://vladimirprus.com
>


-- 
Best Regards

Jeff Zhang


Status of new UI

2021-05-21 Thread Vladimir Prus
Hi,

I see that Zeppelin has new in-development UI (available view "Try the new
Zeppelin" link).

Is there any overview of its status? E.g. is it ready for users? And if
it's not, what is approximate timeline when it will be ready?

I'm asking because I'm making some fixes (initially, locally), and I wonder
whether I should do it
in the current UI, or jump to the new one right away.

Thanks,

-- 
Vladimir Prus
http://vladimirprus.com


Re: Custom init for Spark interpreter

2021-05-21 Thread Jeff Zhang
Thanks Vladimir

Vladimir Prus  于2021年5月21日周五 下午5:35写道:

> Jeff,
>
> thanks for the response. I've created
> https://issues.apache.org/jira/browse/ZEPPELIN-5386 and will see whether
> I can make a generic patch for this.
>
> On Fri, May 21, 2021 at 11:21 AM Jeff Zhang  wrote:
>
>> Right,we have hooks for each paragraph execution, but no interpreter
>> process level hook. Could you create a ticket for that ? And welcome to
>> contribute.
>>
>> Vladimir Prus  于2021年5月21日周五 下午4:16写道:
>>
>>>
>>> Hi,
>>>
>>> is there a way, when using Spark interpreter, to always run additional
>>> Scala code after startup? E.g. I want to automatically execute
>>>
>>>  import com.joom.whatever._
>>>
>>> so that users don't have to do it all the time. I see that
>>> BaseSparkScalaInterpreter.spark2CreateContext imports a few thing, but the
>>> code does not appear to support customizing this sequence.
>>>
>>> --
>>> Vladimir Prus
>>> http://vladimirprus.com
>>>
>>
>>
>> --
>> Best Regards
>>
>> Jeff Zhang
>>
>
>
> --
> Vladimir Prus
> http://vladimirprus.com
>


-- 
Best Regards

Jeff Zhang


Re: Custom init for Spark interpreter

2021-05-21 Thread Vladimir Prus
Jeff,

thanks for the response. I've created
https://issues.apache.org/jira/browse/ZEPPELIN-5386 and will see whether I
can make a generic patch for this.

On Fri, May 21, 2021 at 11:21 AM Jeff Zhang  wrote:

> Right,we have hooks for each paragraph execution, but no interpreter
> process level hook. Could you create a ticket for that ? And welcome to
> contribute.
>
> Vladimir Prus  于2021年5月21日周五 下午4:16写道:
>
>>
>> Hi,
>>
>> is there a way, when using Spark interpreter, to always run additional
>> Scala code after startup? E.g. I want to automatically execute
>>
>>  import com.joom.whatever._
>>
>> so that users don't have to do it all the time. I see that
>> BaseSparkScalaInterpreter.spark2CreateContext imports a few thing, but the
>> code does not appear to support customizing this sequence.
>>
>> --
>> Vladimir Prus
>> http://vladimirprus.com
>>
>
>
> --
> Best Regards
>
> Jeff Zhang
>


-- 
Vladimir Prus
http://vladimirprus.com


Re: AW: AW: plotly plots in apache zeppelin

2021-05-21 Thread f . idelberger

I have no solution for this problem, but you can disable the menu.

 

fig.to_html(config={'displayModeBar': True})

 

The function has more parameters that might be interesting performance-wise.

 

- Original message -
From: 
To: 
Cc:
Subject: AW: AW: plotly plots in apache zeppelin
Date: Thu, May 20, 2021 5:33 PM
 
 

Thanks for that tip! It works.

 

However, the plotly menu is  a little bit corrupted:



 

Instead of:



In jupyter notebook.

 

But at least a good workaround. Many Thanks!

 

 

 

Von: f.idelber...@avm.de 
Gesendet: Donnerstag, 20. Mai 2021 17:12
An: users@zeppelin.apache.org
Betreff: Re: AW: plotly plots in apache zeppelin

 



Dear Uwe,



 



instead of



 



fig.show(),



 



you rather use:



 



print('%html {0}'.format(fig.to_html()))



 



- Original message -
From: 
To: 
Cc:
Subject: AW: plotly plots in apache zeppelin
Date: Thu, May 20, 2021 4:58 PM
 


I use it with exactly the same example code in my first email:

 

import plotly.graph_objects as go

 

# Create traces

fig = go.Figure()

 

fig.add_trace(go.Scatter(x=[0, 1, 2, 3, 4], y=[0, 1, 4, 9, 16],

    mode='lines+markers',

    name='cool line',

    line=dict(color='red', width=4, dash='dash')))

 

fig.show(renderer='notebook') 

 

 

 

 

Von: Jeff Zhang 
Gesendet: Donnerstag, 20. Mai 2021 16:54
An: users 
Betreff: Re: plotly plots in apache zeppelin

 


How do you use plotly in jupyter ? Do you use it in offline mode like this link ?


 



https://www.tutorialspoint.com/plotly/plotly_plotting_inline_with_jupyter_notebook.htm



 



 



 



 于2021年5月20日周四 下午9:00写道:





Hi,

 

we are elaborating if apache zeppelin is a suitable tool for us for collaborative notebooks. So far, I am very happy. However, we often use plotly in our jupyter notebooks and I do not get plotly plots displayed in apache zeppelin.

 

I installed apache zeppelin 0.9.0. (binary package with all interpreters) on a Linux server and the python interpreter settings point to the python binary in a conda environment. This environment  contains pyspark and plotly 4.14.3.

 

My example code is:

 

%python

 

import plotly.io as pio

pio.renderers.default = 'notebook'

 

 

# x and y given as array_like objects

import plotly.express as px

fig = px.scatter(x=[0, 1, 2, 3, 4], y=[0, 1, 4, 9, 16])

fig.show()

 

 

The result is an empty white output in zeppelin. Is plotly working in zeppelin and if so, what am I doing wrong? (sorry, if this question is a stupid one)

 

Any help is highly appreciated and If you need further information, please let me know.

 

Best regards,

Uwe

 

 

——

Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR)

Institut für Verbrennungstechnik | Mehrphasenströmungen und Alternative Treibstoffe | Pfaffenwaldring 38-40 | 70569 Stuttgart

 

Dr.-Ing. Uwe Bauder

Telefon +49 711 6862-422 | Telefax +49 711 6862-578 | uwe.bau...@dlr.de

DLR.de

 









 


-- 


Best Regards

Jeff Zhang





 





 




Re: Custom init for Spark interpreter

2021-05-21 Thread Jeff Zhang
Right,we have hooks for each paragraph execution, but no interpreter
process level hook. Could you create a ticket for that ? And welcome to
contribute.

Vladimir Prus  于2021年5月21日周五 下午4:16写道:

>
> Hi,
>
> is there a way, when using Spark interpreter, to always run additional
> Scala code after startup? E.g. I want to automatically execute
>
>  import com.joom.whatever._
>
> so that users don't have to do it all the time. I see that
> BaseSparkScalaInterpreter.spark2CreateContext imports a few thing, but the
> code does not appear to support customizing this sequence.
>
> --
> Vladimir Prus
> http://vladimirprus.com
>


-- 
Best Regards

Jeff Zhang


Custom init for Spark interpreter

2021-05-21 Thread Vladimir Prus
Hi,

is there a way, when using Spark interpreter, to always run additional
Scala code after startup? E.g. I want to automatically execute

 import com.joom.whatever._

so that users don't have to do it all the time. I see that
BaseSparkScalaInterpreter.spark2CreateContext imports a few thing, but the
code does not appear to support customizing this sequence.

-- 
Vladimir Prus
http://vladimirprus.com