You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Peter Moorthamer (JIRA)" <ji...@apache.org> on 2019/04/10 09:14:01 UTC

[jira] [Created] (ZEPPELIN-4114) The Python interpreter crashes when Conda is used in combination with iPython in Zeppelin v0.8.1

Peter Moorthamer created ZEPPELIN-4114:
------------------------------------------

             Summary: The Python interpreter crashes when Conda is used in combination with iPython in Zeppelin v0.8.1
                 Key: ZEPPELIN-4114
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4114
             Project: Zeppelin
          Issue Type: Bug
          Components: python-interpreter
    Affects Versions: 0.8.1
            Reporter: Peter Moorthamer


Running a notebook with the following 2 paragraphs will cause a crash of the Python interpreter:

{{%python.conda}}

{{activate base}}

 

{{%python.ipython}}
{{import sys}}

{{print(sys.version)}}

 

Exception:

io.grpc.StatusRuntimeException: UNAVAILABLE at io.grpc.Status.asRuntimeException(Status.java:543) at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:395) at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:426) at io.grpc.internal.ClientCallImpl.access$100(ClientCallImpl.java:76) at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.close(ClientCallImpl.java:512) at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.access$700(ClientCallImpl.java:429) at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:544) at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:52) at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /127.0.0.1:43307 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:352) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:632) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:579) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:496) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:458) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138) ... 1 more

Caused by: java.net.ConnectException: Connection refused ... 11 more

 

None of the Python notebooks are working after this exception has occurred.

 

The same error can be reproduced in the standard Zeppelin 0.8.1 installation and in the Zeppelin 0.8.1 installation with Docker.

 

The grpcio Python package is causing the trouble. 

When installing the iPython dependencies (including grpcio) on Zeppelin 0.8.0, the same issue is introduced.

 

We really need this functionality.  Can you please try to fix this issue.  Thanks.

We have done some testing with different versions of the grpicio Python package but none of them are working.

 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)