Hi Team:

Zeppelin is OK in localhost. But when I open it in another machine, it shows 
disconnected every few seconds.
we use nginx as a websocket reverse proxytoconnection between a client and 
server. Zeppelin in server and I open a c


Inzeppelin-site.xml,I set:
export MASTER=spark://BJ-BIGDATA-01:7077
export HADOOP_CONF_DIR=/usr/hadoop/etc/hadoop/   
export ZEPPELIN_PORT=10008
Inzeppelin-site.xml, I have only set server ip address and port and -1 for 
websocket port.


I tail the log/zeppelin-hadoop*.logwhen it shows disconnected(on the right 
corner),it print line like“...Closed connection to 10.12.12.51 : 49622”, and 
when i press F5 to fresh the page shows connected,the logs print line 
like“...New connection from 10.12.12.51 : 49946”,and when i finished the job, 
it print“..closed connection to 10.12.12.51 : 51863” too.

[hadoop@BJ-BIGDATA-01 logs]$ tail -f zeppelin-hadoop-BJ-BIGDATA-01.log
INFO [2015-09-01 16:13:21,211] ({WebsocketSelector18} 
NotebookServer.java[onClose]:156) - Closed connection to 10.12.12.51 : 49077
INFO [2015-09-01 16:16:13,972] ({WebSocketWorker-10} 
NotebookServer.java[onOpen]:88) - New connection from 10.12.12.51 : 49622
INFO [2015-09-01 16:16:13,972] ({WebSocketWorker-10} 
NotebookServer.java[onMessage]:100) - RECEIVE  LIST_NOTES
INFO [2015-09-01 16:16:13,973] ({WebSocketWorker-10} 
NotebookServer.java[onMessage]:100) - RECEIVE  LIST_NOTES
INFO [2015-09-01 16:16:52,733] ({WebSocketWorker-10} 
NotebookServer.java[onMessage]:100) - RECEIVE  GET_NOTE
INFO [2015-09-01 16:17:13,682] ({WebSocketWorker-10} 
NotebookServer.java[onMessage]:100) - RECEIVE  PING
INFO [2015-09-01 16:18:13,683] ({WebsocketSelector18} 
NotebookServer.java[onClose]:156) - Closed connection to 10.12.12.51 : 49622
INFO [2015-09-01 16:18:53,433] ({WebSocketWorker-11} 
NotebookServer.java[onOpen]:88) - New connection from 10.12.12.51 : 49946
INFO [2015-09-01 16:18:53,493] ({WebSocketWorker-11} 
NotebookServer.java[onMessage]:100) - RECEIVE  LIST_NOTES
INFO [2015-09-01 16:18:53,563] ({WebSocketWorker-11} 
NotebookServer.java[onMessage]:100) - RECEIVE  GET_NOTE
INFO [2015-09-01 16:18:59,200] ({WebSocketWorker-11} 
NotebookServer.java[onMessage]:100) - RECEIVE  GET_NOTE
INFO [2015-09-01 16:19:53,581] ({WebSocketWorker-11} 
NotebookServer.java[onMessage]:100) - RECEIVE  PING
…
INFO [2015-09-01 16:37:56,890] ({pool-1-thread-91} 
SchedulerFactory.java[jobFinished]:138) - Job 
paragraph_1438576269514_-1185184725 finished by scheduler 
remoteinterpreter_583421958
INFO [2015-09-01 16:38:10,473] ({WebSocketWorker-14} 
NotebookServer.java[onMessage]:100) - RECEIVE  PING
INFO [2015-09-01 16:39:10,475] ({WebsocketSelector18} 
NotebookServer.java[onClose]:156) - Closed connection to 10.12.12.51 : 51863
INFO [2015-09-01 16:50:51,328] ({WebSocketWorker-15} 
NotebookServer.java[onOpen]:88) - New connection from 10.12.12.51 : 53394
INFO [2015-09-01 16:50:51,577] ({WebSocketWorker-15} 
NotebookServer.java[onMessage]:100) - RECEIVE  LIST_NOTES
INFO [2015-09-01 16:50:51,580] ({WebSocketWorker-15} 
NotebookServer.java[onMessage]:100) - RECEIVE  GET_NOTE
INFO [2015-09-01 16:51:18,280] ({WebSocketWorker-15} 
NotebookServer.java[onMessage]:100) - RECEIVE  RUN_PARAGRAPH
INFO [2015-09-01 16:51:18,286] ({WebSocketWorker-15} 
NotebookServer.java[broadcast]:254) - SEND  NOTE
INFO [2015-09-01 16:51:18,287] ({WebSocketWorker-15} 
NotebookServer.java[broadcast]:254) - SEND  NOTE


Can anyone tell me what's wrong?


Regards,
Moonssang

Reply via email to