{"action":"created","issue":{"url":"https://api.github.com/repos/SANSA-Stack/SANSA-Notebooks/issues/5","repository_url":"https://api.github.com/repos/SANSA-Stack/SANSA-Notebooks","labels_url":"https://api.github.com/repos/SANSA-Stack/SANSA-Notebooks/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/SANSA-Stack/SANSA-Notebooks/issues/5/comments","events_url":"https://api.github.com/repos/SANSA-Stack/SANSA-Notebooks/issues/5/events","html_url":"https://github.com/SANSA-Stack/SANSA-Notebooks/issues/5","id":275367632,"number":5,"title":"Transport exception in Zeppelin notebook","user":{"login":"sheldonkhall","id":8779668,"avatar_url":"https://avatars3.githubusercontent.com/u/8779668?v=4","gravatar_id":"","url":"https://api.github.com/users/sheldonkhall","html_url":"https://github.com/sheldonkhall","followers_url":"https://api.github.com/users/sheldonkhall/followers","following_url":"https://api.github.com/users/sheldonkhall/following{/other_user}","gists_url":"https://api.github.com/users/sheldonkhall/gists{/gist_id}","starred_url":"https://api.github.com/users/sheldonkhall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheldonkhall/subscriptions","organizations_url":"https://api.github.com/users/sheldonkhall/orgs","repos_url":"https://api.github.com/users/sheldonkhall/repos","events_url":"https://api.github.com/users/sheldonkhall/events{/privacy}","received_events_url":"https://api.github.com/users/sheldonkhall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"patrickwestphal","id":1250070,"avatar_url":"https://avatars1.githubusercontent.com/u/1250070?v=4","gravatar_id":"","url":"https://api.github.com/users/patrickwestphal","html_url":"https://github.com/patrickwestphal","followers_url":"https://api.github.com/users/patrickwestphal/followers","following_url":"https://api.github.com/users/patrickwestphal/following{/other_user}","gists_url":"https://api.github.com/users/patrickwestphal/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickwestphal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickwestphal/subscriptions","organizations_url":"https://api.github.com/users/patrickwestphal/orgs","repos_url":"https://api.github.com/users/patrickwestphal/repos","events_url":"https://api.github.com/users/patrickwestphal/events{/privacy}","received_events_url":"https://api.github.com/users/patrickwestphal/received_events","type":"User","site_admin":false},"assignees":[{"login":"patrickwestphal","id":1250070,"avatar_url":"https://avatars1.githubusercontent.com/u/1250070?v=4","gravatar_id":"","url":"https://api.github.com/users/patrickwestphal","html_url":"https://github.com/patrickwestphal","followers_url":"https://api.github.com/users/patrickwestphal/followers","following_url":"https://api.github.com/users/patrickwestphal/following{/other_user}","gists_url":"https://api.github.com/users/patrickwestphal/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickwestphal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickwestphal/subscriptions","organizations_url":"https://api.github.com/users/patrickwestphal/orgs","repos_url":"https://api.github.com/users/patrickwestphal/repos","events_url":"https://api.github.com/users/patrickwestphal/events{/privacy}","received_events_url":"https://api.github.com/users/patrickwestphal/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/SANSA-Stack/SANSA-Notebooks/milestones/1","html_url":"https://github.com/SANSA-Stack/SANSA-Notebooks/milestone/1","labels_url":"https://api.github.com/repos/SANSA-Stack/SANSA-Notebooks/milestones/1/labels","id":2950767,"number":1,"title":"0.3","description":null,"creator":{"login":"JensLehmann","id":839578,"avatar_url":"https://avatars3.githubusercontent.com/u/839578?v=4","gravatar_id":"","url":"https://api.github.com/users/JensLehmann","html_url":"https://github.com/JensLehmann","followers_url":"https://api.github.com/users/JensLehmann/followers","following_url":"https://api.github.com/users/JensLehmann/following{/other_user}","gists_url":"https://api.github.com/users/JensLehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/JensLehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JensLehmann/subscriptions","organizations_url":"https://api.github.com/users/JensLehmann/orgs","repos_url":"https://api.github.com/users/JensLehmann/repos","events_url":"https://api.github.com/users/JensLehmann/events{/privacy}","received_events_url":"https://api.github.com/users/JensLehmann/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2017-12-01T09:15:59Z","updated_at":"2017-12-01T09:15:59Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2017-11-20T14:08:24Z","updated_at":"2017-12-09T17:39:24Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Once I have the docker instance running, with a clean install I try the sparkpi notebook and get this error:\r\n\r\n```\r\nimport scala.math.random\r\n\r\nimport org.apache.spark.sql.SparkSession\r\n\r\nval slices = 2\r\nval n = math.min(100000L * slices, Int.MaxValue).toInt // avoid overflow\r\nval count = spark.sparkContext.parallelize(1 until n, slices).map { i =>\r\n    val x = random * 2 - 1\r\n    val y = random * 2 - 1\r\n    if (x*x + y*y <= 1) 1 else 0\r\n}.reduce(_ + _)\r\nprintln(\"Pi is roughly \" + 4.0 * count / (n - 1))\r\n```\r\n output\r\n\r\n```\r\norg.apache.thrift.transport.TTransportException\r\n\tat org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)\r\n\tat org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)\r\n\tat org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)\r\n\tat org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)\r\n\tat org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)\r\n\tat org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:69)\r\n\tat org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Client.recv_interpret(RemoteInterpreterService.java:266)\r\n\tat org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Client.interpret(RemoteInterpreterService.java:250)\r\n\tat org.apache.zeppelin.interpreter.remote.RemoteInterpreter.interpret(RemoteInterpreter.java:366)\r\n\tat org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:95)\r\n\tat org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:406)\r\n\tat org.apache.zeppelin.scheduler.Job.run(Job.java:175)\r\n\tat org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:329)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nERROR   \r\nTook 26 sec. Last updated by anonymous at November 20 2017, 2:03:53 PM.\r\n```\r\n\r\nI get the same error on the query notebook too.  When I try to run for a second time I get this error:\r\n\r\n```\r\njava.net.ConnectException: Connection refused (Connection refused)\r\n\tat java.net.PlainSocketImpl.socketConnect(Native Method)\r\n\tat java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)\r\n\tat java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)\r\n\tat java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)\r\n\tat java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)\r\n\tat java.net.Socket.connect(Socket.java:589)\r\n\tat org.apache.thrift.transport.TSocket.open(TSocket.java:182)\r\n\tat org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:51)\r\n\tat org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:37)\r\n\tat org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:60)\r\n\tat org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861)\r\n\tat org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435)\r\n\tat org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)\r\n\tat org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.getClient(RemoteInterpreterProcess.java:92)\r\n\tat org.apache.zeppelin.interpreter.remote.RemoteInterpreter.interpret(RemoteInterpreter.java:345)\r\n\tat org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:95)\r\n\tat org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:406)\r\n\tat org.apache.zeppelin.scheduler.Job.run(Job.java:175)\r\n\tat org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:329)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```\r\n\r\nany thoughts?"},"comment":{"url":"https://api.github.com/repos/SANSA-Stack/SANSA-Notebooks/issues/comments/350492775","html_url":"https://github.com/SANSA-Stack/SANSA-Notebooks/issues/5#issuecomment-350492775","issue_url":"https://api.github.com/repos/SANSA-Stack/SANSA-Notebooks/issues/5","id":350492775,"user":{"login":"patrickwestphal","id":1250070,"avatar_url":"https://avatars1.githubusercontent.com/u/1250070?v=4","gravatar_id":"","url":"https://api.github.com/users/patrickwestphal","html_url":"https://github.com/patrickwestphal","followers_url":"https://api.github.com/users/patrickwestphal/followers","following_url":"https://api.github.com/users/patrickwestphal/following{/other_user}","gists_url":"https://api.github.com/users/patrickwestphal/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickwestphal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickwestphal/subscriptions","organizations_url":"https://api.github.com/users/patrickwestphal/orgs","repos_url":"https://api.github.com/users/patrickwestphal/repos","events_url":"https://api.github.com/users/patrickwestphal/events{/privacy}","received_events_url":"https://api.github.com/users/patrickwestphal/received_events","type":"User","site_admin":false},"created_at":"2017-12-09T17:39:24Z","updated_at":"2017-12-09T17:39:24Z","author_association":"OWNER","body":"Hi @sheldonkhall \r\n\r\nI tried to reproduce your problem with\r\n\r\n```\r\n$ docker --version\r\nDocker version 17.09.1-ce, build 19e2cf6\r\n$ docker-compose --version\r\ndocker-compose version 1.17.1, build unknown\r\n```\r\non the develop branch. And indeed I got an error (`java.lang.NoSuchMethodError: com.google.inject.util.Types.collectionOf(Ljava/lang/reflect/Type;)Ljava/lang/reflect/ParameterizedType;` -- due to wrong versions of some dependencies' dependencies) in the OWL layer which will be fixed soon. But I think this isn't related to your problem. What you reported matches this [StackOverflow question](https://stackoverflow.com/questions/36835122/org-apache-thrift-transport-ttransportexception-error-while-reading-large-json-f) pretty well. Thus, can you please have a look at the Zeppelin logs? You should get the log information running\r\n\r\n```\r\n$ docker logs sansanotebooks_zeppelin_1\r\n```"}}
{"actor":{"display_login":"patrickwestphal"}}