You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/10/18 03:20:32 UTC

[GitHub] [hadoop-ozone] mukul1987 commented on a change in pull request #46: HDDS-2286. Add a log info in ozone client and scm to print the exclus…

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

 ##########
 File path: hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/io/BlockOutputStreamEntryPool.java
 ##########
 @@ -254,6 +254,9 @@ long getKeyLength() {
    * @throws IOException
    */
   private void allocateNewBlock() throws IOException {
+    LOG.info("Allocating block with excludeList: datanodes = {}, " +
+        "pipelines = {}, containers = {}", excludeList.getDatanodes(),
+        excludeList.getPipelineIds(), excludeList.getContainerIds());
 
 Review comment:
   Lets add ExcludeList#toString and then lets use it at both the places.

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

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