zjffdu commented on a change in pull request #3390: [ZEPPELIN-3784] Cluster
management web page
URL: https://github.com/apache/zeppelin/pull/3390#discussion_r299549114
##########
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:
The old date api has issue for time zone.
----------------------------------------------------------------
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