[ https://issues.apache.org/jira/browse/HDFS-4340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13558540#comment-13558540 ]
Tsz Wo (Nicholas), SZE commented on HDFS-4340: ---------------------------------------------- - In FSNamesystem.startFileInt(..), move "final HdfsFileStatus stat = dir.getFileInfo(src, false);" up. Then, we don't need to add the fileStatus parameter to startFileInternal(..) and we also don't need to add HdfsFileStatus.copy(..). - Please also see if you could fix the findbugs warning. > Update addBlock() to inculde inode id as additional argument > ------------------------------------------------------------ > > Key: HDFS-4340 > URL: https://issues.apache.org/jira/browse/HDFS-4340 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: hdfs-client, namenode > Affects Versions: 3.0.0 > Reporter: Brandon Li > Assignee: Brandon Li > Attachments: HDFS-4340.patch, HDFS-4340.patch, HDFS-4340.patch, > HDFS-4340.patch, HDFS-4340.patch, HDFS-4340.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira