It might be due other reason, you can set the interpreter log level to be
DEBUG to get more info.
Add following into log4j.properties
log4j.logger.org.apache.zeppelin.interpreter=DEBUG
Manuel Sopena Ballesteros 于2019年10月30日周三 下午1:51写道:
> Ok,
>
>
>
> One more question, I am getting an error wh
Ok,
One more question, I am getting an error when I force ipython
%mansop.ipyspark
print("Hello world!")
java.io.IOException: Fail to launch IPython Kernel in 30 seconds at
org.apache.zeppelin.python.IPythonInterpreter.launchIPythonKernel(IPythonInterpreter.java:297)
at
org.apache.zeppelin.p
Based on the error message, you are still using python instead of ipython.
It is hard to tell what's wrong.
One suggestion is to try 0.8.2 which is the latest release.
Manuel Sopena Ballesteros 于2019年10月30日周三 上午9:47写道:
> Didn’t like %matplotlib inline
>
>
>
> Traceback (most recent call last)
Didn’t like %matplotlib inline
Traceback (most recent call last):
File
"/d1/hadoop/yarn/local/usercache/mansop/appcache/application_1570749574365_0083/container_e15_1570749574365_0083_01_01/tmp/zeppelin_pyspark-2736590645623350055.py",
line 364, in
code = compile('\n'.join(stmts), '', 'exe
Try this
%pyspark
%matplotlib inline
import matplotlib.pyplot as plt
plt.figure()
plt.plot([1, 2, 3])
Manuel Sopena Ballesteros 于2019年10月30日周三 上午9:39写道:
> Another example:
>
>
>
> %pyspark
>
>
>
> import matplotlib.pyplot as plt
>
>
>
> plt.plot([1, 2, 3])
>
> z.show(plt)
>
> plt.clos
I guess you are using ipython (starting from 0.8.x zeppelin will try to use
ipython first if it is available)
For matplotlib ploting in ipython, you need to add the following line
%matplotlib inline
Manuel Sopena Ballesteros 于2019年10月30日周三 上午9:12写道:
> Dear Zeppelin user community,
>
>
>
> I am
Another example:
%pyspark
import matplotlib.pyplot as plt
plt.plot([1, 2, 3])
z.show(plt)
plt.close()
According to documentation
https://zeppelin.apache.org/docs/0.8.0/interpreter/python.html#matplotlib-integration
Am I right assuming that I can use z.show in %pyspark?
Thank you
Manuel
Fr
Dear Zeppelin user community,
I am running Zeppelin 0.8.0 and I am not able to print a plot using pyspark
interpreter:
This is my notebook:
%pyspark
import matplotlib.pyplot as plt
plt.figure()
plt.plot([1, 2, 3])
And this is the output:
[]
Any idea?
NOTICE
Please consider the environment
Hi
I am trying to integrate Shiro with LDAP auth.
I have followed the setup guide on
https://zeppelin.apache.org/docs/latest/setup/security/shiro_authentication.html
and
noticed one issue.
The example refers to this configuration:
ldapRealm.permissionsByRole= user_role = *:ToDoItemsJdo:*:*,
*:T