The seventh part of Apache Zeppelin series of tutorials - the whole process analysis of running paragraph

Zeppelin runs the whole process analysis of paragraph

The previous article described the processes of JdbcInterpreter, Interpreter, and Zengine respectively. This article mainly connects the entire process of paragraph in series.

front end

First, when the front-end part is running, the runParagraph in zeppelin-web/src/components/websocket/websocket-message.service.js sends a request to the backend through websocket

rear end

The onMessage in zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java enters different methods according to the parameters passed in from the front end

The process is:

NotebookServer.runParagraph–>NotebookService.runParagraph–>Note.run–>Paragraph.execute–>Paragraph.jobRun

At this point, enter RemoteInterpreter.interpret and it will be connected with the above

The front end is divided into the old front end and the new front end interface

Old frontend for AngularJs zeppelin-web

insert image description here
New frontend for Angular zeppelin-web-angular directory

insert image description here

Reference:
(1) Introduction to websocket

https://www.ruanyifeng.com/blog/2017/05/websocket.html

https://blog.csdn.net/KeepStruggling/article/details/105543449

Guess you like

Origin blog.csdn.net/weixin_43291055/article/details/130755571