swagle commented on a change in pull request #46: HDDS-2286. Add a log info in 
ozone client and scm to print the exclus…
URL: https://github.com/apache/hadoop-ozone/pull/46#discussion_r335818232
 
 

 ##########
 File path: 
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMBlockProtocolServer.java
 ##########
 @@ -176,6 +176,10 @@ public void join() throws InterruptedException {
     auditMap.put("owner", owner);
     List<AllocatedBlock> blocks = new ArrayList<>(num);
     boolean auditSuccess = true;
+    LOG.info("Allocating blocks {} of size {}, with excludeList: " +
+        "datanodes = {}, pipelines = {}, containers = {}",
+        excludeList.getDatanodes(), excludeList.getPipelineIds(),
+        excludeList.getContainerIds());
 
 Review comment:
   Thanks @adoroszlai for catching this.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to