-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Zeppelin is essentially a web application. It starts the interpreter as an independent JVM process, interactively executes code fragments of various languages, and returns the results to the front-end UI in the form of HTML code fragments.
Zeppelin interpreter module: in order to support multi language notebook, the interpreter interface of each language is abstracted, including display, scheduling, dependency and thirft communication protocol with Zeppelin engine.
There are four important files in the development of sqlflow interpreter :
SQLFlowInterpreter.java
This file is to let sqlflow inherit the interpreter interface provided by Zeppelin, so as to connect the two and realize the abstract class of Zeppelin. In this file, you can read the configuration file parameters, construct the sqlflow client, start and close the interpreter, and so on.EnvironmentSpecificSQLFlowClient.java
Create a class of sqlflow client.MessageHandlerZeeplin.java
Front end display control class. Display the front-end interface output results: message header, message body, picture, error information, etc.interpreter-setting.json
Create the interpreter configuration file. Interceptor settings file, which parameters the foreground needs, need to be written in the configuration file, in order to transfer to the background.
Metadata
Metadata
Assignees
Labels
No labels