liuxunorg commented on a change in pull request #3372: [ZEPPELIN-3623] Create
interpreter process in the cluster mode
URL: https://github.com/apache/zeppelin/pull/3372#discussion_r289297410
##########
File path:
zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/remote/RemoteInterpreterServer.java
##########
@@ -178,6 +187,8 @@ public RemoteInterpreterServer(String intpEventServerHost,
server = new TThreadPoolServer(
new TThreadPoolServer.Args(serverTransport).processor(processor));
remoteWorksResponsePool = Collections.synchronizedMap(new HashMap<String,
Object>());
+
+ clusterManagerClient.start(interpreterGroupId);
Review comment:
All interpreter processes report their status to the cluster.
After the zeppelin cluster has metadata for all zeppelin services and
interpreter processes,
It will be of great help to the management of zeppelin in the future.
E.g,
1. Cluster metadata can know which interpreter processes are started on
which servers.
2. The operating state of each interpreter process,
3. CPU and memory resource usage for each interpreter process.
4. Even the user's session information can be managed uniformly.
Therefore, I consider that the single machine is also managed by cluster
metadata.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services