[ https://issues.apache.org/jira/browse/HDFS-5537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jing Zhao updated HDFS-5537: ---------------------------- Attachment: HDFS-5537.002.patch Update the patch to fix the javadoc warnings. Also add Preconditions check to INodeFile#toCompleteFile and INodeFile#removeLastBlock to make sure the file is under construction. > Remove FileWithSnapshot interface > --------------------------------- > > Key: HDFS-5537 > URL: https://issues.apache.org/jira/browse/HDFS-5537 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: namenode > Reporter: Jing Zhao > Assignee: Jing Zhao > Attachments: HDFS-5537.000.patch, HDFS-5537.001.patch, > HDFS-5537.002.patch > > > We use the FileWithSnapshot interface to define a set of methods shared by > INodeFileWithSnapshot and INodeFileUnderConstructionWithSnapshot. After using > the Under-Construction feature to replace the INodeFileUC and > INodeFileUCWithSnapshot, we no longer need this interface. -- This message was sent by Atlassian JIRA (v6.1#6144)