[jira] [Created] (ZEPPELIN-4366) Cannot import note

2019-10-07 Thread Nawid Sayed (Jira)
Nawid Sayed created ZEPPELIN-4366:
-

 Summary: Cannot import note
 Key: ZEPPELIN-4366
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4366
 Project: Zeppelin
  Issue Type: Bug
Reporter: Nawid Sayed


Similar to issue [1028|https://issues.apache.org/jira/browse/ZEPPELIN-1028] , 
the import dialog remains without output.

This happens when I try to import some notes in a AWS EMR zeppelin instance, I 
have no issues importing notes on my local machine. The notes are created on 
EMR zeppelin instances, not sure if that is relevant.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (ZEPPELIN-4358) Seaborn renders plots slowly in apache zeppelin notebooks

2019-09-27 Thread Nawid Sayed (Jira)
Nawid Sayed created ZEPPELIN-4358:
-

 Summary: Seaborn renders plots slowly in apache zeppelin notebooks
 Key: ZEPPELIN-4358
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4358
 Project: Zeppelin
  Issue Type: Bug
  Components: pySpark
Affects Versions: 0.8.1
Reporter: Nawid Sayed


I am currently trying to generate visualizations in zeppelin (0.8.1) notebooks 
using the pyspark interpreter with python 3.7.3.

Generating the following simple plot with seaborn (0.9.0) takes around 5 
minutes (with very high CPU usage throughout the duration):

```%pyspark
%pyspark
import seaborn as sns
import numpy as np
import pandas as pd

data = pd.DataFrame(np.random.rand(100,3))

sns.pairplot(data)
```

This behavior is rather inconsistent as the following (much more data 
intensive) plot is rendered instantly

```%pyspark
%pyspark
import seaborn as sns
import numpy as np
import pandas as pd

df = pd.DataFrame(data = np.random.rand(1,2))

sns.lineplot(x = 0, y = 1, data = df)
```

I noticed that using matplotlib (3.1.0) is generally much faster for and almost 
as snappy as I am used to from jupyter notebook environments.

I have already read about issue 
[ZEPPELIN-1894](https://jira.apache.org/jira/browse/ZEPPELIN-1894) but I can 
render the mentioned scatterplot instantly as well.

 

I already stated my question on StackOverflow but I think here is a better 
place:



--
This message was sent by Atlassian Jira
(v8.3.4#803005)