You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/08/15 16:12:44 UTC

[GitHub] [ozone] duongnguyen0 commented on a diff in pull request #3684: HDDS-7076. Log container file path when container cannot be written.

duongnguyen0 commented on code in PR #3684:
URL: https://github.com/apache/ozone/pull/3684#discussion_r945912869


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/KeyValueContainer.java:
##########
@@ -260,7 +260,8 @@ private void writeToContainerFile(File containerFile, boolean isCreate)
     } catch (IOException ex) {
       onFailure(containerData.getVolume());
       throw new StorageContainerException("Error while creating/ updating " +
-          ".container file. ContainerID: " + containerId, ex,
+          ".container file. ContainerID: " + containerId + " Container path: " +

Review Comment:
   ```suggestion
             " container file. ContainerID: " + containerId + ", container path: " +
   ```



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

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org