liuxunorg commented on a change in pull request #3390: [ZEPPELIN-3784] Cluster 
management web page
URL: https://github.com/apache/zeppelin/pull/3390#discussion_r299547583
 
 

 ##########
 File path: 
zeppelin-interpreter/src/main/java/org/apache/zeppelin/cluster/ClusterManagerServer.java
 ##########
 @@ -210,6 +208,14 @@ public BroadcastService getBroadcastService() {
         messagingService.registerHandler(CLUSTER_AUTH_EVENT_TOPIC,
             subscribeClusterAuthEvent, MoreExecutors.directExecutor());
 
+        HashMap<String, Object> meta = new HashMap<String, Object>();
+        String nodeName = getClusterNodeName();
+        meta.put(ClusterMeta.NODE_NAME, nodeName);
+        meta.put(ClusterMeta.SERVER_HOST, zeplServerHost);
+        meta.put(ClusterMeta.SERVER_PORT, raftServerPort);
+        meta.put(ClusterMeta.SERVER_START_TIME, new Date());
 
 Review comment:
   This date field is only used to display the start time of the service and 
will not participate in the calculation.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to