You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2019/06/22 10:05:44 UTC

[GitHub] [zeppelin] liuxunorg commented on a change in pull request #3387: [ZEPPELIN-3778] Cluster synchronize notes & authorization

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


With regards,
Apache Git Services