mukul1987 commented on a change in pull request #623: HDDS-2941. file create :
create key table entries for intermediate directories in the path
URL: https://github.com/apache/hadoop-ozone/pull/623#discussion_r389259006
##########
File path:
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/file/OMFileRequest.java
##########
@@ -80,6 +91,7 @@ public static OMPathInfo verifyFilesInPath(
// Check if this is actual file or a file in the given path
if (dbKeyName.equals(fileNameFromDetails)) {
result = OMDirectoryResult.FILE_EXISTS;
+ parentExists = true;
Review comment:
This should be false as this is a file and not a directory
----------------------------------------------------------------
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]