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

 ##########
 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:
   Because need to synchronize the `create`, `rename`, `delete`, set `read 
permissions`, `write permissions`, `execute permissions`, so need to 
synchronize the more information, there will be a lot of synchronization 
information in the log file.
   So need add `if (LOGGER.isDebugEnabled())`

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