Re: Zeppelin server hangs due to websocket deadlock bug in Jetty 8

2016-04-12 Thread Eric Charles
Just opened https://github.com/apache/incubator-zeppelin/pull/831 that upgrades to jetty9 On 11/04/16 14:47, Alexander Bezzubov wrote: Thank you for pointing LIST_NOTES broadcasting to every client, I'm not sure that that's what was meant to happen in such case. I have never seen the behavior

Re: Zeppelin server hangs due to websocket deadlock bug in Jetty 8

2016-04-11 Thread Alexander Bezzubov
Thank you for pointing LIST_NOTES broadcasting to every client, I'm not sure that that's what was meant to happen in such case. I have never seen the behavior you describe and it looks like a race condition on a run note message. Did you have a chance to try applying only the first part of the cha

Re: Zeppelin server hangs due to websocket deadlock bug in Jetty 8

2016-04-07 Thread Prasad Wagle
Thanks Alex. I understand the reason for synchronization of note<->client_connection. However, I don't think I understand why if I request LIST_NOTES which does not involve any changes, the server sends the list of notes to all clients using broadcastNoteList() which uses broadcastAll. After deplo

Re: Zeppelin server hangs due to websocket deadlock bug in Jetty 8

2016-04-07 Thread Alexander Bezzubov
Hi, thank you Eric, upgrading Jetty sounds like a great idea! Prasad, I think braodcastAll and synchronization of note<->client_connection is used by default to achieve the ability to collaborate over analysis with multiple people at same Note in realtime - to notify all other clients who have th

Re: Zeppelin server hangs due to websocket deadlock bug in Jetty 8

2016-04-07 Thread Prasad Wagle
Thanks Eric! I created https://issues.apache.org/jira/browse/ZEPPELIN-798 - Migrate to Jetty version 9 that has fix for websocket deadlock bug causing Zeppelin server hangs. This is pretty important for us so please let me know how I can help. For now, I have made some changes to reduce websocket

Re: Zeppelin server hangs due to websocket deadlock bug in Jetty 8

2016-04-07 Thread Eric Charles
On 07/04/16 07:18, Prasad Wagle wrote: Hi, We experienced three Zeppelin server hangs today. I have included one of the stack traces below. It is similar to the stack trace in a websocket deadlock bug in Jetty 8. From the bug report : Ho

Zeppelin server hangs due to websocket deadlock bug in Jetty 8

2016-04-06 Thread Prasad Wagle
Hi, We experienced three Zeppelin server hangs today. I have included one of the stack traces below. It is similar to the stack trace in a websocket deadlock bug in Jetty 8. From the bug report : However, Jetty 9 has already refactored the low