felixcheung commented on a change in pull request #3387: [ZEPPELIN-3778] 
Cluster synchronize notes & authorization
URL: https://github.com/apache/zeppelin/pull/3387#discussion_r296438120
 
 

 ##########
 File path: 
zeppelin-interpreter/src/main/java/org/apache/zeppelin/cluster/ClusterManagerServer.java
 ##########
 @@ -310,18 +311,51 @@ public void broadcastClusterEvent(String msg) {
     }
   }
 
-  private BiFunction<Address, byte[], byte[]> subscribeClusterEvent = 
(address, data) -> {
+  private BiFunction<Address, byte[], byte[]> subscribeClusterIntpEvent = 
(address, data) -> {
+    String message = new String(data);
+    if (LOGGER.isDebugEnabled()) {
 
 Review comment:
   why is `if (LOGGER.isDebugEnabled()) {` needed? `LOGGER.debug` should be 
enough?

----------------------------------------------------------------
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

Reply via email to