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 2021/09/06 08:30:21 UTC

[GitHub] [ozone] ayushtkn commented on a change in pull request #2614: HDDS-5716. Fix create key failure error log print

ayushtkn commented on a change in pull request #2614:
URL: https://github.com/apache/ozone/pull/2614#discussion_r702708267



##########
File path: hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMKeyCreateRequest.java
##########
@@ -370,7 +370,7 @@ protected void logResult(CreateKeyRequest createKeyRequest,
               createKeyRequest.getKeyArgs().getKeyName());
       break;
     case FAILURE:
-      LOG.error("Key creation failed. Volume:{}, Bucket:{}, Key{}. " +
+      LOG.error("Key creation failed. Volume:{}, Bucket:{}, Key:{}. " +
           "Exception:{}", createKeyRequest.getKeyArgs().getVolumeName(),

Review comment:
       Do you need `Exception:{}`? you can change to directly pass e?




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