shvachko commented on a change in pull request #3205:
URL: https://github.com/apache/hadoop/pull/3205#discussion_r674373236



##########
File path: 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirWriteFileOp.java
##########
@@ -393,7 +400,7 @@ static HdfsFileStatus startFile(
     fsn.checkFsObjectLimit();
     INodeFile newNode = null;
     INodesInPath parent =
-        FSDirMkdirOp.createAncestorDirectories(fsd, iip, permissions);
+        FSDirMkdirOp.createMissingDirs(fsd, iip.getParentINodesInPath(), 
permissions);

Review comment:
       Could you please check for long lines. They should not exceed 80 symbols 
per Hadoop code style.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to