hanishakoneru commented on a change in pull request #956: HDDS-1638. Implement
Key Write Requests to use Cache and DoubleBuffer.
URL: https://github.com/apache/hadoop/pull/956#discussion_r296038727
##########
File path:
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java
##########
@@ -633,7 +633,7 @@ public void commitKey(OmKeyArgs args, long clientID)
throws IOException {
OmKeyInfo keyInfo = metadataManager.getOpenKeyTable().get(openKey);
if (keyInfo == null) {
throw new OMException("Commit a key without corresponding entry " +
- objectKey, KEY_NOT_FOUND);
+ openKey, KEY_NOT_FOUND);
Review comment:
The exception message is little confusing. Can we elaborate on the error
that we failed to commit key as there was no corresponding entry in the open
key table.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]