[ https://issues.apache.org/jira/browse/HDFS-4429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jing Zhao updated HDFS-4429: ---------------------------- Attachment: HDFS-4429.001.patch Update the patch: 1. Rebase the patch based on HDFS-4126, 2. In FSNamesystem#finalizeINodeFileUnderConstruction, with the existence of snapshot, we need to record an INodeFileUnderConstructionSnapshot instance in the corresponding snapshot. 3. Update the new unit test to cover different scenarios. > Add unit tests for taking snapshots while file appending > -------------------------------------------------------- > > Key: HDFS-4429 > URL: https://issues.apache.org/jira/browse/HDFS-4429 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, namenode > Reporter: Jing Zhao > Assignee: Jing Zhao > Attachments: HDFS-4429.000.patch, HDFS-4429.001.patch > > > Add unit tests for INodeFileUnderConstructionWithSnapshot, where taking > snapshots after/while file appending is tested. Also fix some related bugs. -- 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